javanetbeansnetbeans-6.9

Netbeans 6.9.1 not working on windows 8


I want to make Java Desktop Application but Netbeans 6.9.1 is not working on windows 8.1 (it crashes on double click to run). I have installed JDK8 along with Jre7 (both 32 and 64 bit). How to make it run, Netbeans 8 is working properly.


Solution

  • Netbeans 6.9.1 is not working on windows 8.1

    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_jdkhome variable to point to new JDK path, and then Restart your Netbeans.

    Sample

    # 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"