Change your default Java VM

To see which VMs are available:

java-config --list-available-vms

Example:

steph@localhost # java-config --list-available-vms
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
*)      Sun JDK 1.5.0.09 [sun-jdk-1.5]
3)      Sun JDK 1.6.0.01 [sun-jdk-1.6]

To set your VM to number [n] in the list:

java-config --set-system-vm [n]

Example:

steph@localhost # java-config --set-system-vm 3
Now using sun-jdk-1.6 as your generation-2 system JVM

References

Gentoo Java Guide

Last modified: 27/06/07 20:00:49
Go to top

Related Pages

No related pages or links.

Login/out

Login

Forgot Password?
Go to top
Go to top