The compiled java program can be executed normally by using PowerShell directly, and the terminal execution opened on vscode will appear: the main class cannot be found or cannot be loaded.

! this problem can occur in any program

it"s no use trying to restart the computer and reinstall vscode

environment variable:

JAVA_HOME = C:Program FilesJavajdk1.8.0_171
Path =% JAVA_HOME%bin
CLASSPATH =.;% JAVA_HOME%lib;%JAVA_HOME%libtools.jar


your picture is dead.

  • Vscode, what is this log?

    VScodelogconsole.log(),console.log(): The icon is a file, and selecting this does not have any effect, so it is troublesome to press the direction key to select the second one every time you enter it. Does anyone know what this is? Is there any way ...

  • The use of Leetcode plug-in in VScode

    -the problem file downloaded when using the leetcode plug-in in vscode is under the $HOME .leetcode directory by default. How do I change the directory? -- read the official document mentioned-- "if the current VS Code does not have an open folder, t...

Menu