Friday, June 17, 2011

How to switch between installed Java VM in Ubunutu

Java Mascot


Imagine you have installed both IcedTea and Oracle (Sun) JVM and you want to switch to Sun JVM from IcedTea. This can be done with command 'update-alternatives --config java' as root.