I want to make
Java Desktop Application
You must have JDK 6.0 on your system to install and run NetBeans IDE 6.9.1.
Source NetBeans IDE 6.9.1 Release Notes.
To make Netbeans run on JDK 6, if you have more than one JDK do this:
You can change the JDK for Netbeans by modifying the config file:
Open netbeans.conf file available under etc folder inside the NetBeans installation. Modify the
netbeans_jdkhomevariable to point to new JDK path, and then Restart your Netbeans.
# Default location of JDK, can be overridden by using --jdkhome <dir>: #netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_45" netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_45"