470,815 Members | 1,103 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

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.)
Jul 17 '05 #1
1 14738
jo*******************@yahoo.com (Joseph Daniel Zukiger) wrote in
news:d1**************************@posting.google.c om:
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.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Johan Louwers | last post: by
oll3i
7 posts views Thread by oll3i | last post: by
3 posts views Thread by bbawa1 | last post: by
12 posts views Thread by Petronius | last post: by
5 posts views Thread by Julius | last post: by
11 posts views Thread by cmb3587 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.