F
Flip
Hello, I'm working on a Head First EJB book (it's great), but I have a
question about CLASSPATH, the -cp and the -classpath.
I understand javac uses the -classpath parameter and java uses the -cp, but
why are they different parameter names? Why aren't they the same? Don't
the reference the samething? How do each of them work with the environment
CLASSPATH variable? I am running a javac command and it appears to be
ignoring my CLASSPATH setting, I have to explicitly put the jar I want on
the javac command line to not get any errors.
I'm using Windows XP if that matters. Thanks for any help.
question about CLASSPATH, the -cp and the -classpath.
I understand javac uses the -classpath parameter and java uses the -cp, but
why are they different parameter names? Why aren't they the same? Don't
the reference the samething? How do each of them work with the environment
CLASSPATH variable? I am running a javac command and it appears to be
ignoring my CLASSPATH setting, I have to explicitly put the jar I want on
the javac command line to not get any errors.
I'm using Windows XP if that matters. Thanks for any help.