![]() ![]() ![]() Remember, the argument is the name of the class that you want to use, not the filename.Įxception in thread "main" : main ![]() For example, you'll get this error if you try to run your program with java HelloWorldApp.class instead of java HelloWorldApp. class file that was created by the compiler. ![]() The CLASSPATH variable is set in the same manner.Ĭould not find or load main class HelloWorldApp.classĪ common mistake made by beginner programmers is to try and run the java launcher on the. Updating the PATH variable section in the JDK 8 installation instructions. If the program works now, you'll have to change your CLASSPATH variable.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |