About ClassPath

xiaoxiao2021-03-06  14

Yesterday, I learned from the basics and started to do HelloWorldApp. After Javac HelloWorldapp.java passed, how can Java HelloWorldApp can pass, appear: Exceptionin MAIN (): classnotfound ......................

In the environment variable, it is also changed, and it is ClassPath. It took a long time, and finally finally did it. Should be classpath = .; c: / jdk / .....

The front ";" indicates that in the current directory.

转载请注明原文地址:https://www.9cbs.com/read-49994.html

New Post(0)