I am trying to run javac command and have to problems:
first, the -classpath - doesnt work for me, I am trying to put .class folders, I tried to put the root directory, and all the sub directories - but it dont work.. I still get:package ... does not exist.
second, I have to compile a whole folder - so i use the myFolder \*.java - as the path to compile, it works fine, but when I add " - for spaces a get: invalid flag for the folder path.
some one can help?
Joined: Sep 01, 2006
are you using window ??
If windows and if you are adding your class folder to class path in emv varible doesnt work either you need to put jar file or class files not a class folder .