Setting Default JVM in Ubuntu

, Add comments

There are circumstances where you may need to have more than one version of Java installed, but how do you switch between them?

Execute the following command to list the installed JVMs:

$ sudo update-alternatives --config java

Simply enter the number for the JVM to use. The * shows the current selected JVM.

Related posts:

  1. Managing Packages in Ubuntu
  2. Setting up ddclient on Ubuntu
  3. Running Windows Application on Ubuntu
  4. Scheduling Tasks in Ubuntu/Linux
  5. Problems with Ubuntu 7.10 and Tomcat 5.5

Comments are closed.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in