Pages

How to Install Java JDK & Netbeans in Ubuntu

Posted on | By Florentino Aryo Widyantoro | In ,

 

1. Install JDK

We will use OpenJDK as your default JDK. JDK is needed to develop applications in Netbeans. Alternately, you can use Sun JDK
To install OpenJDK, type in terminal:
sudo apt-get update 
sudo apt-get install openjdk-6-jdk 

2. Download Netbeans from Official Site

Now we will download Netbeans. Go to Download link below:
Download page. Choose options you need.

3. Install

When download is completed, you will find a .sh file waiting for you. Give it executable permission- copy the file to your home directory. Then open a terminal and type:
sudo chmod a+x filename.sh
 
Now, simply, double click it to install.
you can run it from terminal. Copy the file to your home directory. Then open a terminal and type:
sudo sh ./filename.sh

Of course, replace filename.sh with the filename you just downloaded.
If failed, you can type this command on terminal

sudo apt-get install netbeans

Now, store the large downloaded file to a safe location so that you may use it later, when you re-install Ubuntu!

Comments (0)

Post a Comment