To change the Java Home that is used by the IDE to a version of Java that is not the most recent version you should specify the version in the nf configuration file.
After applying the update, NetBeans IDE runs on the most recent version of Java that is installed, with Java SE 6 as the minimum required version. Download Netbeans 8.0.2 With Jdk For MacĪfter applying Software Update Java for OS X 2012-006 1.0 - Mac OS X users are no longer able to use the Java Preferences application to specify the version of Java that is used by applications.
So if you installed JDK 11, NetBean8.2 will not work without making the configuation file edit suggested in this site. Usually it's based on the the most recent JDK installation. Forcing NetBeans to use JDK1.8 NetBeans on MAC OS X uses a version of JDK in some non-explicit way, and it's not always what you want.