PDA

View Full Version : Netbeans doesn't start on Ubuntu



theasianmamba24
February 7th, 2019, 08:55 AM
With Java installed and JDK installed (in /usr/lib/jvm directory), I can't seem to open Netbeans via the terminal. I installed it with "sudo apt-get install netbeans". I've recently installed Netbeans 8.2 with the .sh file I downloaded online, I ran the script and I could open it, but I got the error message when I tried to create a new Java Project:

"Not all requested modules can be enabled."

I have also tried changing netbeans_jdkhome in the /etc directory to "/usr/lib/jvm/java-8-oracle".

What should I do?

slickymaster
February 7th, 2019, 09:35 AM
Make sure the variable netbeans_jdkhome in /etc/netbeans.conf has the correct value
netbeans_jdkhome="/usr/lib/jvm/java-8-oracle"

theasianmamba24
February 7th, 2019, 03:25 PM
Thanks for the quick response. I have checked my variable and it is in the exact format and java-8-oracle is in fact in that directory, but the issue remains.