Install Netbeans 7.2 on Ubuntu Linux

Here is a quick tutorial on how you can install and configure Netebeans 7.2 IDE with Java Development Kit 7u7 onto Ubuntu 12.04 Precise.

If you are trying to run Netbeans 7.2 IDE on Ubuntu 12.04 Precise then here is a quick tutorial on how you can install and configure Netebeans 7.2 IDE with Java Development Kit. This tutorial is based on the fact that Java Development Kit(JDK) isn’t already installed on Ubuntu. You might have Java Runtime Environment(JRE) but that isn’t enough to create Java programs and Netbeans won’t continue unless you have the full JDK installed on the system.

NetBeans 7.2 Ubuntu

If you want to create Java based programs on Ubuntu with Netbeans 12.04, you can automatically download and install it from the Software center. But the Software Center version is old and has bugs. So we will be manually downloading the latest Netbeans 7.2 with latest JDK 7  and installing it onto Ubuntu 12.04 Precise.

JDK Download

You have to download the following file from Sun Java which has both Java Development Kit and Netbeans 7.2 compiled into one file. So you don’t have to manually install both of them one at a time. This is a  much easier process as this configures JDK as well as Netbeans with a single installation.

This package however only contains Java Modules for Netbeans 7.2, if you need other modules such as PHP, Groovy, and C/C++ you’ll have to download the new package from Netbeans site and then just configure it to install the modules you want.

Once you’ve download the .sh file from the above link. Use the following command to make the file executable by Ubuntu.The chmod command makes the file executable. Then just run the same file by removing the chmod +x from the command or just dragging the file into the terminal and hitting enter.

chmod +x /home/user/Downloads/

creating executable and running the installer

Then a new window will pop up from where you can continue installing Netbeans 7.2 and Java Development Kit 7u7 onto your Ubuntu System. And continue developing in Java and other programming languages that Netbeans offer like PHP, C/C++, Groovy etc.

Leave a Reply