J
Jimmy zhang
Hi, I place a jar file (containing all the necessary .class file) in a
directory, then set the classpath environment variable
(directory+filename.jar.)
But for some reason, when I try to compile a java program importing packages
from this jar file, javac simply can't pick up the right files, and
repeatedly
report failure to locate the package.
Am wondering if I need to reset my computer or something like that.
Also I try to use -classpath on command prompt, but doesn't seem to work
either.
Any suggestions welcome!
Cheers,
Jimmy
directory, then set the classpath environment variable
(directory+filename.jar.)
But for some reason, when I try to compile a java program importing packages
from this jar file, javac simply can't pick up the right files, and
repeatedly
report failure to locate the package.
Am wondering if I need to reset my computer or something like that.
Also I try to use -classpath on command prompt, but doesn't seem to work
either.
Any suggestions welcome!
Cheers,
Jimmy