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?
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:
In my case: /usr/lib/jvm/java-8-oracle/
https://netbeans.org/community/releases/81/install.html#install_zip
1) uninstall Netbeans & download JDK 8 http://www.oracle.com/technetwork/java/javase/downloads/index.html from Here
2) Extract JDK to /home/username/
3) Download Netbeans https://netbeans.org/downloads/
4) Install Netbeans from terminal follow this tutorial
5) Installation asks jdk location then browse to /home/username/jdk1.8.0_91
problem solved.....
Just in case, I solved this just by commenting out the following line;
To
Edit:
The directory of the above code is inside the file ~/netbeans-8.1/etc/netbeans
I had the same exact issues,what I have done is :-1
Make sure that right JDK directory chosen in the installation wizard if you not sure you can change it from
C:\Program Files\NetBeans {netbeans version}\etc
you will see a file which isnetbeans.conf
edit it(I am using Notepad++ for that) At the bottom of the file, you will see a linenetbeans_jdkhome="C:\Program Files\Java\{jdk directory you want}"
make sure it is valid JDK and it is JDK, not JRE