NetBeans is a popular open-source Integrated Development Environment (IDE) used for Java, PHP, C++, and other programming languages. Although newer versions of NetBeans are available today, some developers may still need to install older versions like NetBeans IDE 7.1.2.
This guide will show you how to install NetBeans 7.1.2 on Ubuntu 11.10 step by step.
Prerequisites
Ubuntu 11.10 (Oneiric Ocelot) installed
Java Development Kit (JDK) installed (NetBeans requires Java)
NetBeans 7.1.2 installer (downloaded as .sh file from the NetBeans archives)
Step 1: Copy NetBeans Installer to Desktop
After downloading the NetBeans 7.1.2 installer (netbeans-7.1.2-ml-linux.sh), move it to your Desktop folder for easy access.
Step 2: Open Terminal and Navigate to Desktop
Open a terminal and run:
cd ~/Desktop
This command switches your working directory to the Desktop.
Step 3: Make the Installer Executable
By default, downloaded .sh files may not have execute permission. Run:
sudo chmod +x netbeans-*
This command makes the NetBeans installer executable.
Step 4: Run the Installer
Now, start the installation process by running:
sudo ./netbeans-*
You’ll be prompted to enter your administrator password. Once entered, the NetBeans graphical installer will launch.