PDA

View Full Version : changing java_home in ubuntu 8



sridhar_ratna
June 6th, 2009, 06:41 AM
I have install java with command
sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin

but it installed jdk 6 update 10. but i require jdk6 update 13/14.

now i downloaded the jdk-6u14-linux-i586.bin and installed.

but i didn't find the place where to change java_home path.

i have added the following lines but no use

JAVA_HOME="/usr/local/Java/jdk1.5.0_07"
CLASSPATH="/usr/local/Java/jdk1.5.0_07/lib:."

please help me solve this.