I am currently taking Java lessons and I am using VSCode. I wrote this code:
class Simple{
public static void main(String args[]){
System.out.println("Hello World!");
} }
But the thing is every time I run my code a message appears:
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS D:\Visual Studio Code\Java Practice> & 'c:\Users\user\.vscode\extensions\vscjava.vscode-java-debug-0.26.0\scripts\launcher.bat' 'ripts\launcher.bat' 'C:\Users\user\AppData\Local\Programs\AdoptOpenJDK\bin\java.exe' '-Dfile.encoding=UTF-8' '-cData\Roaming\Code\Usep' 'C:\Users\user\AppData\Roaming\Code\User\workspaceStorage\3be13cab7faa4596286e209d09d9be11\redhat.java\jdt_ws\Java Practice_fb59611a\bin' 'Simple' Hello World! PS D:\Visual Studio Code\Java Practice>
I only want to see my output, which in this case is 'Hello World!'. Is there a way to remove the other lines?