Install NetBeans IDE 8.0 in Ubuntu 14.04/13.10/12.04

Last updated: March 19, 2014

NetBeans IDE 8.0

NetBeans IDE 8.0 was finally released on March 18, 2014, which provides out-of-the-box code analyzers and editors for working with the latest Java 8 technologies.

Besides the Java 8 support, the IDE also has a range of new enhancements that further improve its support for Maven and Java EE with PrimeFaces; new tools for HTML5, in particular for AngularJS; and improvements to PHP and C/C++ support. See the release note for more details.

Install NetBeans IDE 8.0:

1. Download the installer:

NetBeans IDE 8.0 works better and faster with JDK distribution, so you can download the oracle’s Co-bundled package from the links below. You may check your OS type 32-bit (x86) or 64 bit (x64) via System Settings -> Details.

Download the Linux x86 or x64 package

You can also download the other bundles at netbeans.org/downloads/.

2. Give executable permission.

Press Ctrl+Alt+T on your keyboard to open the terminal. When it opens, run the command below to make the installer executable.

chmod +x ~/Downloads/jdk-8-nb-8-linux-*.sh

You may change the file name “jdk-8-nb-8-linux-*.sh” in the code to yours, also do this in next command.

3. Start the installer:

In the terminal run:

cd ~/Downloads && ./jdk-8-nb-8-linux-*.sh

This will bring up the install wizard. Just follow it and you’ll finally get the NetBeans IDE 8 installed on your system.

(Optional) To uninstall the IDE, run ./uninstall.sh in the install directory.

That’s it. Enjoy!

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

29 responses to Install NetBeans IDE 8.0 in Ubuntu 14.04/13.10/12.04

  1. Thanks!

  2. Hello Ji m,
    I’m just new to ubuntu (14.04) und trying to move my set of applications over – that is, the latest versions – your short & precise text has helped me a lot – thanks!

  3. Thaks Brother!!

  4. Lisandro Duran June 29, 2014 at 4:28 pm

    Thank you very much.
    It worked like a charm ;D

  5. Thanks my friend :) I too linux user and like netbeans IDE

  6. Thanks for your guide, I loved using the Oracle package over the normal .sh file they give you at Netbeans.

    Quick questions: I’m guessing I need to add the HTML5 and PHP plugins to create those projects? Just do that in the Tools > Plugins area?

  7. Thank you so much brother….it worked…

  8. i want to workk with you but i have less experiance..

  9. Very well explained!!
    I just wanted to add some side notes for NEWBIES who probably just started using Ubuntu as their very first exposure to PC, this OS, and wanted to learn programming after hearing such great reputations of NetBeans. I thought there might be some users giving this up because:

    1. Cannot paste over the above commands into the Terminal window;
    2. Then, unknowingly manually typing something wrong;
    3. Still receiving a permission error though entering a whole command line correctly.

    In order to paste over those command lines in the above, copy a line first (Ctrl-c), go to the Terminal window, click in there once then press “Ctrl-Shift-v”. Yeah, normally it’s “Ctrl-v” but it’s not in Ubuntu by default.

    If for some reasons you still cannot paste it over in the Terminal window, your best option is to manually enter it instead of zinging around on the Internet. However, you should be able to do the following while manually tying a line….

    Just enter “chmod +x ~/Dow” then press the TAB key. Now, Ubuntu should do the rest so you should see something like “chmod +x ~/Downloads/” already. Or else, the Terminal window will show you a few options like “Down”, “Download”, “Downloads” etc.. If that is the case, you may want to figure out where you saved that downloaded file.

    Once the above goes ok, enter “jdk-8u” for instance, press TAB, and Ubuntu should do the rest so you should see “chmod +x ~/Downloads/jdk-8u11-nb-8-linux-x64.sh”. Now, it’s time to press enter.

    If you do not see the above expected results, you can check the following:

    In Ubuntu or let’s say in any Terminal windows “~/downloads” and “~/Downloads” are totally different! So, if you enter “~/down” as in the above step, then pressing the TAB key does not complete the “~/Downloads/” part. Again, “Jdk-8u” and “jdk-8u” are totally different!!

    Occasionally, it may be a good idea to add “sudo” before start typing “chmod….” so the typical line goes like “sudo chmod +x ~/Downloads/jdk-8u11-nb-8-linux-x64.sh”. Go ahead and experiment as you type “sud” press TAB then SPACE, “chmo” press TAB then SPACE, manually enter “+x” SPACE, enter “~/Down” press TAB then SPACE, and “jdk-8u” press TAB (no space after that in this case).

    Sorry for kinda long explanation but I just did not want those newbies getting away from this due to those very simple issues. Since I’m a QA, I have seen these kinds of user errors A LOT and seen them getting away from Ubuntu…, which is really sad at least to me.

    Thanks!

  10. cd ~/Downloads && ./jdk-8-nb-8-linux-*.sh

    This line is actually combining two commands at once.
    If not successful, please do the following:

    enter “cd ~/Down” in the Terminal window, then press TAB then ENTER.
    Now, you should be in the “Downloads” directly as the Terminal should show: “~/Downloads$”

    Now, enter “./jdk-8u” and press TAB. If you see a complete command line like “./jdk-8u11-nb-8-linux-x64.sh”, then you should be good to press ENTER.

  11. Thanks, worked for me! Also, people might like to use the shortcut to paste the code into the command line: you highlight the code, then hit shift+middle mouse button. I did this and then I had to change the name of the file.

  12. Hi Ji m,

    Thanks for this easiest tutorial. It’s very useful especially for new users Like Me !!!

    Thanks again. Keep it up.

  13. So tnx Thats good
    but for Add c/c++ to netbean must install this after step 3
    http://dlc.sun.com.edgesuite.net/netbeans/8.0.1/final/bundles/netbeans-8.0.1-cpp-linux.sh

  14. Can you please share your opinion on using Apanta Studio instead of NetBeans for php projects. What would personally prefer, and why?

  15. sir i got my java project corrupted but still i have its back up but i dont know how to set it up
    your help must be very appreciated
    i ll be waiting for your reply

  16. Hello Sir

    I have installed and configure the netbeans on ubuntu as per your instructions, Now I am facing a problem, I have set the default editor on filezila to netbeans Now when I open a php file from filezila(direct server) then the file is open but it is not show me in php format, no syntex highlight but it is working file for js files,

    So please let me know how can i see the php files in php encoding or format so i can easily enjoy with this.

    Thanks In advance

  17. I have jdk installed on my Ubuntu System. Can someone assist me installing netbeans ide…

  18. Thanks

  19. Thilina Ekanayaka June 15, 2015 at 12:52 pm

    Thank you so much brother! i was having problems with 7.+ versions. They were freezing. I recently witched into Linux and this was so much helpful.

  20. thaks jim bro….

  21. I have already install netbeans 8. i have got the message that netbeans install properly , I get not any netbeans id of link in menu.
    how can i run this netbeans.

  22. Excellent tutorial facility. The times I tried to install the NetBeans 8 on my ubuntu.

    Sorry for my English.

  23. try to follow the tutor and getting below error ,
    can somebody plz help.

    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 1: html: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 2: head: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 3: title: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 4: META: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 5: link: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 6: link: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 7: $’\r’: command not found
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 8: body: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 9: div: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 10: table: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 11: tr: No such file or directory
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 12: syntax error near unexpected token `<'
    ./jdk-8u60-nb-8_0_2-linux-i586.sh: line 12: `

  24. Hey! Thank you dude!
    I have a question, if I want to install from terminal, but without install netbeans-java, only netbeans-c++, How I can to type in terminal? (*I’m sorry for my english).

    • Just download the C/C++ package from netbean website (x86 for 32bit, x64 for 64bit), then

      1. make it executable via chmod command:

      chmod +x ~/Downloads/NETBEAN_PACKAGE_NAME.sh

      2. run the script:

      cd ~/Downloads && ./NETBEAM_PACKAGE_NAME.sh
  25. I thanks for the Help, But i am getting a error right on the be beggining of instalation.

    Configuring the installer…

    Installer file /home/o-cara/Downloads/jdk-8u101-nb-8_1-linux-x64.sh seems to be corrupted

  26. Brother I am unable to do it….Please Help!!!