RSS

Set Java Home in Ubuntu

02 May
If your java installation is as per path /usr/lib/jvm/java-6-

sun-1.6.0.24, then use this, else modify the given path below as per your path,

$ JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.24

$ export JAVA_HOME

$ PATH=$PATH:$JAVA_HOME/bin

$ export PATH

$ echo $JAVA_HOME

 
Leave a comment

Posted by on May 2, 2011 in Java, Ubuntu

 

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: