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.

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.

Share NowShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPin on PinterestShare on StumbleUponShare on RedditEmail this to someone

You may also like...

14 Responses

  1. Hermengildo says:

    Hey thanks thats helped me alot

  2. Darksoulsong says:

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

  3. Thanks for wonderfull writeup.
    I m enjoying Netbeans on Ubuntu ……..gr8

  4. @RealVictorF says:

    You are brillant!!!! 😀
    Guys: don’t forget to install JDK 7. Here another brillant explanation http://askubuntu.com/questions/67909/how-do-i-install-oracle-jdk-6

  5. zafar says:

    Thank you!
    it works :)

  6. Raymond says:

    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

  7. Jerry says:

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

  8. Gokul R says:

    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 says:

    Thanks.It is very clear.

  10. Arapian says:

    Great, thank you!

  1. May 5, 2012

    […] To install Netbeans IDE on Ubuntu 12.04 Click Here […]

Leave a Reply

Your email address will not be published. Required fields are marked *


*