How to install Netbeans in Ubuntu

You need a good IDE to develop your projects. If you are a JAVA, C/C++, or PHP developer, Netbeans comes in handy.
For Windows and MAC there are separate guides and they are more GUI based. However in Ubuntu, I’d suggest you to better take the terminal route.
First of all you need to have at least 14 onwards Ubuntu version. The 12 version-updates are stopped since April, 2017.

First of all, to run Netbeans you need JDK. Check whether your Ubuntu has got JAVA already, probably it has. Open your terminal and Just type:

java -version

It will give an output like this:

java version “1.7.0_151”
OpenJDK Runtime Environment (IcedTea 2.6.11) (7u151-2.6.11-2ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.151-b01, mixed mode)

Next is time to install Java Development Kit (JDK).

sudo apt-get install default-jdk

It’ll install the JDK you require to install Netbeans. Next go to the Netbeans Download page and download the full kit. Actually it comes up with a file like
netbeans-8.2-linux.sh in your Downloads folder.
Make a separate directory for Netbeans and move the file and run it by making it executable.
Here are the commands you need to type one after another.

sudo mkdir netbeans
sudo mv netbeans-8.2-linux.sh /home/ss/Downloads/netbeans
cd netbeans/
sudo chmod +x netbeans-8.2-linux.sh
./netbeans-8.2-linux.sh

Now it’ll automatically start the installation process.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s