2009
06.24

I have noticed that eclipse was a bit slower than usual, and it was due to the java virtual machine that it was running it.

It seems that the default installation of the Ubuntu 9.04 Jaunty comes with the Open Source Java instead the Sun one. If your not too picky about non oss, I will recommend to use the sun java virtual machine.

To change this setting, just be sure that you have installed the packages sun-java6-bin and sun-java6-jre.

Then, in case you want to make the Sun JVM the default one in the system, you can do it by running from a console:

$>sudo update-alternatives --display java
$>sudo update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java

This way, the next time you open any java application, /usr/bin/java will be called, that is a symlink to /etc/alternatives/java, that now points to the Sun JVM instead the open source one.

2 comments so far

Add Your Comment
  1. Excellent brief and this article helped me alot. Say thank you I looking for your information….

  2. I’ll right away grab your rss feed as I can not find your email subscription link or e-newsletter service. Do you’ve any? Kindly let me know in order that I could subscribe. Thanks.