Thursday, July 5, 2007

KB: JAVA_HOME on Ubuntu

Set JAVA_HOME environment variable on Ubuntu Linux.

To globally set the JAVA_HOME environment variable, edit /etc/environment and add the following to the top of the file:
JAVA_HOME=/opt/jdk1.6.0