The parameter after the java command is the java class name, not the file name of the bytecode file, nor the file name of the java source file, so I correctly output Hello world! through the command java HelloWorld.
java error: Could not find or load main class HelloWorld.class
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325344275&siteId=291194637
Recommended
Ranking