Installing NetBeans on Xubuntu 10.04

Installing NetBeans is simple in Ubuntu, but Xubuntu doesn’t seem to have the package in its repositories. The following will guide you through the install.

First thing needed is Java. You can install the openJDK or the sunJDK.

For openJDK

sudo apt-get install openjdk-7-jdk

For Sun JDK

sudo apt-get install sun-java6-jdk

Next we need to download the NetBeans installer. Navigate to NetBeans.org and download the version you require.

After the download has completed run the following to begin the install.

sudo sh ./netbeans-x.sh

Replace x with the version you have downloaded.

And that is it! You now have NetBeans installed.