Classpath Gotchas

Everything about Classpath


If your classpath is not set the compiler (javac) and java vm (java) is looking for classes in the
current directory (= -classpath .). However, if you set a classpath and the current directory is not part of the classpath your classes will not be found.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License