How to install Netbeans (with prerequisites) in Ubuntu 11.04 and later
To install Netbeans in Ubuntu 11.04 (or later versions) you will need Java JRE or JDK to be installed beforehand.
Now I like openJDK a lot, but I still prefer Sun Java JDK for development
So heres the recipe to cook everything -
1. Install JRE
sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
During the installation press ‘OK’ in the screen that appears within the Terminal (see the below screenshot, the screenshot was collected from internet). You can do so by navigating using the ‘Tab’ key and once ‘OK’ is highlighted in red, press ‘Enter’.
2. Install JDK
sudo apt-get install sun-java6-jdk
3. Install Netbeans
The Ubuntu repository has Netbeans 6.9. The latest available version is Netbeans 7.0.1. So I prefer manual installation (Applicable for any version of Netbeans).
- Download your appropriate version of Netbeans from http://netbeans.org/downloads/index.html
- Remember the download location. In my case, it was /media/software/SDK-IDE
- Apply sudo chmod a+x /media/software/SDK-IDE/netbeans-7.0.1-ml-linux.sh
- Applying this command we are giving permission to the Netbeans installer file to be run as an executable program.
- Now double click the file and then click on “run” to install NetBeans IDE
- Follow the instructions
![]()
Thats all
Tags
apache redirection blogging boot Browser directory print download download limit Download Manager download time limit effective search emacs fedora fedora 9 firefox free stuffs Google internet ISO java latex Linux maverick Media miktext mozilla no-www Open Source os PHP picture Picture of the Day python search search techniques social networking Software sulphur sun jdk thesis writing tips Tips n Tricks ubuntu utility vmware player Windows






