Installing NetBeans 10 on Linux

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

This video will show you how to Install Apache NetBeans (incubating) 10.0 and also how to:

  • Check for Java and the JDK version
  • Correctly Setup the IDE once installed
  • Activate the various plugins
  • Install C/C++
  • Import your “Exported” Options
  • Deal with the com.oracle.js.parser.implementation warning

Advertisement

The basic steps are:

  • Update and Upgrade Linux: sudo apt-get update && sudo apt-get upgrade
  • Download the Binaries from: https://netbeans.apache.org/download/index.html
  • Extract the downloaded “zip” file to: ~/netbeans_10.0
  • Check you have a “JDK” on your system (either JDK8, JDK11 or OpenJDK8, OpenJDK11)
  • Run: ~/netbeans_10.0/bin/netbeans
  • NetBeans 10 will load (accept the defaults in the dialogs to install the Plugins, previous settings etc.)
  • If you get the following warning, accept it and continue.
    Warning – could not install some modules: Nashorn Integration – No module providing the capability com.oracle.js.parser.implementation could be found. 19 further modules could not be installed due to the above problems.
    Once NetBeans is installed, go to “Tools>Plugins>Available Plugins” and install the plugin: oracle.js.parser.implementation
  • Install & Activate Plugins
  • Import previous Options
  • Create Desktop & Menu Shortcuts

Advertisement

Warning – could not install some modules: Nashorn Integration

I have had the message:
Warning – could not install some modules: Nashorn Integration – No module providing the capability com.oracle.js.parser.implementation could be found. 19 further modules could not be installed due to the above problems”
It only seems to occur when there is a previous version of NetBeans on your system. It hasn’t occurred with a clean install.

The Warning is not serious. It seems to stem from a combination of things. Mainly, that NetBeans 8.2 or 9.0 are on your system, with the PHP, HTML5 plugins and that you have an open Project in either 8.2/9.0.

Before installing NetBeans 10, close all open projects in your previous version(s) of NetBeans. You don’t need to uninstall earlier versions of NetBeans. If you get the Warning: Continue the Installation/Setup and immediately NetBeans starts, go to “Tools>Plugin>Available Plugins” and install the oracle.js.parser.implementation plugin. Once this is installed, you’ll be able to install and Activate the other plugins.

Download the Binaries from:

https://netbeans.apache.org/download/index.html

Advertisement