Bradley Pearl
Bradley Pearl

Reputation: 23

Netbeans 8.2 all projects broken, no JDK found

I recently switched to Linux Mint, and needed to install Netbeans version 8.2. It installed without issue, but whenever I try to open a project, its marked as broken. I did some searching, and it seems that it isn't recognizing the JDK I installed (jdk 1.8.0_131). I tried to do some troubleshooting myself, but I can't find a way to fix it. I was hoping someone here could lead me in the right direction. Please let me know if you need more info.

Thank you in advance!

Upvotes: 2

Views: 3558

Answers (2)

UdayanBKamble
UdayanBKamble

Reputation: 109

While installing NetBeans 8.2 on Ubuntu 18.04, there was one question about NetBeans jdk installation path, specify correct path there about JAVA_HOME. In my case the was taken as "/usr". After changing netbeans_jdkhome as "/usr/lib/jvm/java-8-openjdk-amd64" in netbeans.conf in netbeans-8.2rc/etc, all worked fine.

Upvotes: 0

Jiri Hanousek
Jiri Hanousek

Reputation: 31

Maybe you did not install jdk correctly for your system. Simple solution may be to edit netbeans.conf file (in installation folder in etc subfolder) and define netbeans_jdkhome. You can find a row starting with netbeans_jdkhome in the bottom of the file commented by #.

Upvotes: 2

Related Questions