000

Well-Known Member
Jun 3, 2008
242
8
68
Thanks Michael.

And What I should put in /etc/profile after of I install my JDK 7:

JAVA_HOME=/usr/java/jdk1.7.0_21
JRE_HOME=/usr/java/jdk1.7.0_21/jre


or

JAVA_HOME=/usr/java/jdk1.7.0_21/
JRE_HOME=/usr/java/jdk1.7.0_21/jre/


??
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

I moved this response into it's own thread. The following values are automatically configured in the /etc/bashrc file:
Code:
export JAVA_HOME=/usr/local/jdk
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip
export PATH="$PATH:/usr/local/bin:/usr/X11R6/bin"
The specific version numbers should not be required because a symbolic link automatically directs the location listed to the correct path.

Thank you.