Sun JVM System Wide
You may also want to use the Sun JVM system-wide. Enabling the Sun JVM is a snap using update-java-alternatives.
- First, find out which versions of Java you have installed through Ubuntu.
sudo update-java-alternatives --list
output: java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun java-6-sun 63 /usr/lib/jvm/java-6-sun
- Next, specify the one you would like as the default.
sudo update-java-alternatives --set java-6-sunNote: The