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 https://aka.ms/pscore6

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\redhat.java\jdt_ws\jdt.ls-java-project\bin' 'HelloWorld'     
**Hello World!**
PS E:\Google Drive\FALL19\COMP248\vs workspace> 

How do I get rid of all the useless data?

New contributor
Karen is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    What exactly about that command do you consider to be "useless" the executable you ran literally, prints "Hello World!", as an output. Please edit your question and clarify it. – Ramhound Sep 11 at 17:56

Your Answer

Karen is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.