| View previous topic :: View next topic |
| Author |
Message |
Joseph Daniel Zukiger Guest
|
Posted: Tue Aug 10, 2004 8:03 am Post subject: difference between JAVA_PATH and JAVA_HOME |
|
|
What's the difference?
Why do most of the linux instructions say to point JAVA_PATH to
JAVA_HOME (parent of the bin), but many university lab instructions
say to point JAVA_PATH to ${JAVA_HOME}/bin?
(Just not feeling comfortable here.)
|
|
| Back to top |
|
 |
John Fereira Guest
|
Posted: Tue Aug 10, 2004 10:22 pm Post subject: Re: difference between JAVA_PATH and JAVA_HOME |
|
|
[email]joseph_daniel_zukiger (AT) yahoo (DOT) com[/email] (Joseph Daniel Zukiger) wrote in
news:d1de2cbe.0408100003.3497bad5 (AT) posting (DOT) google.com:
| Quote: | What's the difference?
Why do most of the linux instructions say to point JAVA_PATH to
JAVA_HOME (parent of the bin), but many university lab instructions
say to point JAVA_PATH to ${JAVA_HOME}/bin?
|
I don't recall that I've ever seen a JAVA_PATH environment variable. Many
applications will use JAVA_HOME and add ${JAVA_HOME}/bin to the PATH
environment variable though. For example:
JAVA_HOME=/usr/local/jdk1.4.2
PATH=${PATH}:${JAVA_HOME}/bin
JAVA_HOME is also used by many other applications like Tomcat and various
IDEs.
|
|
| Back to top |
|
 |
|