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...

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e486c9-44cb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e486c9-44cb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?