Rob
SCJP 1.4
Originally posted by Bear Bibeault:
Hey Michael... yeah PATH won't do anything for you. That's the path that the shell uses to look for command programs; Java ignores it.
Java will look on the path defined by CLASSPATH, as well as in well-known folders (as Rob suggested) for class files -- in addition to those you specify on the command line.
hth,
bear
Originally posted by Bear Bibeault:
But how did you set the classpath in your login script? Remember PATH isn't the right environment variable to use...
bear
Originally posted by Rob Ross:
You might try putting the jar file in the java extensions folder, located in /Library/Java/Extensions I believe.
Rob
SCJP 1.4
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|