Netbeans – fast and with correct font sizes in Ubuntu
The first thing that I suggest to every fresh Ubuntu‘s user is to install the ubuntu-restricted-extras package.
sudo apt-get install ubuntu-restricted-extras
It brings to you all the codecs and plugins that you need to a great user experience. The Java Virtual Machine that comes for default is the open source OpenJDK. There is nothing wrong with it.
But, as a developer, if you want to use NetBeans like I do, it’s better to install the Sun Java package. This Java Virtual Machine is developed by Sun, that develops NetBeans also. So, NetBeans become faster on it and free of a problem with font sizes too.
To install sun-java6-jre and make it the default Java Virtual Machine of you system do as follows:
sudo add-apt-repository "deb http://archive.canonical.com/ natty partner" sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives --config java
Thanks to Alexandre Gaigalas for the tip and Sanjeev Mishra for the how to.
