Installing NetBeans 9.0 on Linux Mint & Ubuntu

Do you want to know how to Install Apache NetBeans (incubating) 9.0 on Ubuntu, Linux Mint and most Linux Distros?

This video will show you how to Install Apache NetBeans (incubating) 9.0 and also how to add the Plugins from NetBeans 8.2.

You may also be interested in learning more about NetBeans with these very useful & informative books from Amazon:

**Bonus: Included in the video – Create a Start Menu Link in Linux Mint for Apache NetBeans (incubating) 9.0.**


The steps to install Apache NetBeans (Incubating) 9.0

  1. Update your repositories:
    sudo apt-get update && sudo apt-get upgrade
  2. Check if you have java installed:
    which java

    If java is installed then check the version:
    java -version

    IMPORTANT: If java JDK8 is not installed, install JDK8 (NetBeans installation is much, much easier with JDK8):
    sudo apt-get install openjdk-8-jdk
    (you may need to restart Linux afterwards)

    or Download from:
    and unzip to ~/netbeans/jdk8

  3. Download “Apache NetBeans (incubating) 9.0” from

    1. click on “Binaries ( PGP ASC, SHA-1)”
    2. click on the recommended Mirror
    3. Check the Hash (details on the page)
  4. Unzip the download by double clicking on it. The Unzip location should be your Home directory as it’ll create a netbeans directory.
  5. Open the NetBeans directory and navigate to the bin folder (~/netbeans/bin)
  6. Double click on netbeans (NOT the exe files).
    If you have a problem with NetBeans not starting:
    1. Edit the file:
    2. Come down to near the bottom of the file and look for the line: #netbeans_jdkhome="/path/to/jdk"
    3. Remove the leading #
    4. Enter the path to the JDK8. Examples (change to suit your environment):
    5. Save the file
    6. Stop and restart Netbeans if necessary.
  7. Wait for the licence agreement and click on “I Accept”
  8. Wait! On first run it’ll want to index the dictionaries and do other “housekeeping” tasks (patience is a virtue, honest 🙂 )
  9. Install the nb-javac by clicking on the button “install nb-javac” button. Accept the defaults in the NetBeans IDE Plugin Installer. Restart the IDE
  10. On Usage Statistics select either “I Agree” or “No, Thank You”. As Apache are currently developing Netbeans, I would recommend you click on “I agree” but, it is YOUR choice.
  11. NetBeans is now up and running

  12. To add NetBeans to the menu in Linux Mint 19

    1. Close NetBeans if it is open
    2. Right click on the Menu and click on “Configure”
    3. Click on “Menu” (at the top)
    4. Click on “Open the menu editor”
    5. In the left pane, click on “Programming”
    6. Click on the “New Item” button
    7. In the Launcher Properties Dialog enter (note: you can replace $USER with your Username):
      • Name :
        Apache NetBeans (incubating) 9.0
      • Command :
        /bin/sh "/home/$USER/netbeans/bin/netbeans"
      • Comment :
        The Smarter Way to Code
      • Icon :
      • Leave “Run in Terminal” unchecked
      • Click on “OK”
    8. Close the Menu Editor

    That’s it! You should be up and running…


    Having installed NetBeans, you may want to add the various plugins which are currently missing from NetBeans 9.0

    Commands & Links:

    NetBeans IDE 8.2 Plugin Centre:

    List of Plugins Gist:

    NetBeans Transition from Oracle:

    You may also be interested in learning more about NetBeans with these very useful & informative books from Amazon: