Set java path on Ubuntu meachine

open Vi /etc/bash.bashrc


and then append the following lines


export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME/bin

4 comments:

izdelava trgovine said...

Just what i was looking for! It was a real pain installing without package :)

Mary Brown said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training India . Nowadays Java has tons of job opportunities on various vertical industry.

Kanye Co Jamila said...

Great Article
IEEE Final Year Projects for CSE
IEEE Project Centers in Chennai

Ajith said...

Great article.
It was very informative, Thanks for sharing!