Hi:
Honestly, I have been using Linux for many years. I am unclear about
some basic stuff. In the .bashrc file when using bash shell,
or .profile when using k shell, I always set JAVA_HOME, ANT_HOME etc,
following other people. But, what these are for?
Suppose I have two version of Java on my Linux:
/a/b/c/java_1.6/
/a/b/c/java_1.7/
If
export JAVA_HOME=/a/b/c/java_1.6/
Does that mean, the two commands "javac" & "java" will be:
/a/b/c/java_1.6/bin/javac
/a/b/c/java_1.6/bin/java
Can you help me understand these tokens or point me to some materials?
Thank you very much.
Replies