i read somewhere that i could put my class files in the jre/classes folder and they would be found automatically. it doesnt seem to work for me. has anyone tried this?
Printable View
i read somewhere that i could put my class files in the jre/classes folder and they would be found automatically. it doesnt seem to work for me. has anyone tried this?
It is easier to just modify your "CLASSPATH" environment variable.
the java compiler and interpreter look in the classpath before it looks in the current directory?
It can if you append the current directory to it:
set CLASSPATH=%CLASSPATH%;.