Visual Studio Code Why do I not get any java output when I run my code?

by Karen   Last Updated September 11, 2019 18:01 PM

I installed JDK 12 and the Java extensions.

I get the following in the Terminal instead of output:

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell

PS E:\Google Drive\FALL19\COMP248\vs workspace> & 'C:\Users\JiaXin.vscode\extensions\vscjava.vscode-java-debug-0.21.0\scripts\launcher.bat' 'C:\Program Files\Java\jdk-12.0.2\bin\java' '--enable-preview' '-Dfile.encoding=UTF-8' '-cp' 'C:\Users\JiaXin\AppData\Roaming\Code\User\workspaceStorage\f0a884c58ad1f48908c70f99a41e0b09\\jdt_ws\\bin' 'HelloWorld'
Hello World! PS E:\Google Drive\FALL19\COMP248\vs workspace>

How do I get rid of all the useless data?

Related Questions

Updated April 01, 2019 05:01 AM

Updated January 25, 2018 11:01 AM

Updated July 14, 2019 14:01 PM

Updated June 19, 2019 11:01 AM