Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans 8.1 Activation Failure

Tags:

I am trying to install NetBeans 8.1 on my Ubuntu 14.04.3 LTS. When I try to create a new project, it shows an error, saying that "not all requested modules can be enabled". I tried activating it from the plugins, but to no avail.

Why is this happening, and what can I do to resolve it?

Check the screenshot here

like image 770
kylas Avatar asked Nov 23 '15 10:11

kylas


People also ask

Why NetBeans is not opening in Windows 10?

I suspect that at the time you installed NetBeans you either had no valid Java installation, or you have changed your Java installation(s) since you installed NetBeans 10.0. In that scenario NetBeans may be unable to start. Locate the file netbeans.

Does NetBeans work with JDK 15?

Deployment Platforms. Apache NetBeans 12.2 runs on JDK LTS releases 8 and 11, as well as on JDK 15, i.e., the current JDK release at the time of this NetBeans release.


1 Answers

I had the same problem with NetBeans 8.1 on Linux Mint 17.2 and I found the solution (during install a have chosen wrong JDK directory).

If a compatible JDK installation cannot be found, you might need to manually add a path to the JDK installation directory by doing the following:

  1. Open the netbeans.conf file located in the netbeans/etc directory in a text editor.
  2. Enter the location of a compatible JDK installation for the netbeans_jdkhome option. The default location in Windows is C:\Program Files\Java\jdk1.7.0_67 or similar.
    In my case: /usr/lib/jvm/java-8-oracle/
  3. Save the netbeans.conf file and run the executable file in the netbeans/bin directory.

https://netbeans.org/community/releases/81/install.html#install_zip

like image 114
Sergey Dreger Avatar answered Oct 02 '22 23:10

Sergey Dreger