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

1 comment:

izdelava trgovine said...

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