To set the java path in ubuntu you need to edit the profile file
# vi /etc/profile
add these lines into the file
JAVA_HOME=/usr/lib/jdk1.6.0_03
export JAVA_HOME
PATH=${JAVA_HOME}/bin:${PATH}
export PATH
the java_home path should be the path were your jvm is located
usually it will be in the above location.
(this is only one of the several available solution)
Wednesday, April 2, 2008
Subscribe to:
Posts (Atom)
