switching java-versions in ubuntu

Posted by Nikolaus Gradwohl Fri, 23 Jan 2009 14:19:00 GMT

to switch between 2 installed versions of the jdk in ubuntu 2 commands are needed:

sudo update-alternatives --config java

is used to choose the java version

sudo update-alternatives --config javac

is used to change the javac version

Tags ,  | 1 comment

Tweet This! submit to reddit Digg!

Comments

  1. Laiq said 2 months later:

    Thanks. Helped

(leave url/email »)

   Comment Markup Help Preview comment