Making NetBeans detects JAVA_HOME


NetBeans’ configuration file contains following line.

# etc/netbeans.conf
#
netbeans_jdkhome="C:\Program Files\Java\jdkX.Y.Z_SOME"

#

When you upgrade JDK, and possibly uninstall the older one, NetBeans starts asking about JDK.

Just comment the line out.

Leave a comment