NetBeans 8.2 Released, How to Install it in Ubuntu 16.04

Last updated: October 3, 2016

netbeans-icon245

The Oracle Corporation has announced the release of NetBeans IDE 8.2 today. Here’s how to install it in Ubuntu 16.04.

NetBeans 8.2 features:

  • ECMAScript 6 support
  • experimental ECMAScript 7 support
  • better Node.js support
  • improved Oracle JET support
  • PHP 7 support
  • Docker support
  • a new SQL queries profiling mode
  • some C/C++ enhancements

Install NetBeans 8.2 in Ubuntu:

1. First install Oracle Java via PPA, or install OpenJDK using Ubuntu Software.

2. Download the NetBeans bundles from the link below:

NetBeans Download Page

3. Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T shortcut key. When it opens run commands:

  • navigate to Downloads folder:
    cd ~/Downloads
  • make the downloaded script executable:
    chmod +x netbeans-8.2-javase-linux.sh
  • finally run the script:
    ./netbeans-8.2-javase-linux.sh

In the commands, change “netbeans-8.2-javase-linux.sh” with the package name you downloaded.

netbeans-script

The last command launches the installer wizard, just follow it and enjoy!

To make the things easier, there’s a installer script (no ready for NetBeans 8.2 yet, check the PPA page) that automatically downloads and installs the latest version of Netbeans IDE including the Java SE, Java EE, C/C++, HTML5 & PHP plugins (‘All’ version on oracle’s download page).

To install the script, run commands below one by one:

sudo add-apt-repository ppa:vajdics/netbeans-installer

sudo apt update

sudo apt install netbeans-installer

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 [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

5 responses to NetBeans 8.2 Released, How to Install it in Ubuntu 16.04

  1. when I run ./netbeans-8.2-linux.sh
    Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread “main”

    Anybody knows, how to fix this?

  2. how to install netbeans for java in linux

  3. gracias, soy nuevo en linux y realmente me salvaste!

  4. Calvince Agira July 17, 2017 at 11:45 am

    Run the command sudo apt-get install default-jdk
    it will install all the necessary staffs for the project