How to install Netbeans IDE on ubuntu 12.04

To install Netbeans IDE on ubuntu 11.10 click here

NOTE: JDK 6 or above (JDK 7) is required for installing and running the Java SE, Java EE and All NetBeans Bundles.

To install JDK 7 on ubuntu click here

1.Go to Netbeans download page  and download the netbeans Linux (x86/x64)  .sh installer file (like netbeans-7.1.2-ml-linux.sh).

2.Copy your Netbeans installer file to your Desktop.

3.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal.

4.Type the below code in terminal and hit enter.

cd Desktop


5.Then type below code in terminal and hit enter

sudo chmod +x netbeans-*

Type your ubuntu password if needed and press enter.

Also Read:  How to Start App Windows in the Center on Ubuntu

6.Then type below code and press enter

sudo ./netbeans-*

7.And then install Netbeans from GUI installer window.

After the successful installation,click the Dash home from unity launcher.And type netbeans in the search field.And click Netbeans IDE to open.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



This Post Has 13 Comments

  1. Abiodun Ogunleye

    Thank you very much. It worked.
    I downloaded both oracle JDK and netbeans in one file and changed the name to netbeans
    when i copied it to destop to make it easier.
    Yo guys are very brilliant.

  2. Hermengildo

    Hey thanks thats helped me alot

  3. Darksoulsong

    This command sudo ./netbeans-*
    gave me the following error: invalid file (bad magic number): Exec format error.

  4. zafar

    Thank you!
    it works 🙂

  5. Raymond

    I tried the abve but give me errors. Is there any other way to install the netbeans on my machine(Samsung notebook 32bit)
    The errors :
    raymond@raymond-N150P:~$ cd Desktop
    raymond@raymond-N150P:~/Desktop$ sudo chmod +x netbeans-*
    [sudo] password for raymond:
    raymond@raymond-N150P:~/Desktop$ sudo ./netbeans-*
    ./netbeans-7.2.1-ml-linux.sh: 2: ./netbeans-7.2.1-ml-linux.sh: Syntax error: newline unexpected
    raymond@raymond-N150P:~/Desktop$
    Please help me out……..thanx

    1. Manikandan

      download the netbeans Linux .sh installer file again and try.

  6. Jerry

    Thank you!!!!!!!!!!!!

  7. muzi

    thanks

  8. Gokul R

    Thank you sooo sooo much..this is very very clear..my netbeans is working perfectly in ubuntu 12.04(Precise Pengluin)…thank u that i don’t know how to express my joy..

  9. Dinober1

    Thanks.It is very clear.

Leave a Reply