'Netbeans 7.2 not starting

I recently installed Netbeans 7.2 beta and it worked fine. Then I installed Netbeans 7.2 final release on top of beta and during the installation, Netbeans 7.1 and Netbeans 7.12 were there. Now when I launch Netbeans, it does not go beyond "loading modules" stage. Simply the Netbeans screen disappear few seconds after the launch. Then I did the following.

  • Uninstalled all the Netbeans versions and re-installed Netbeans 7.2
  • Deleted AppData/Netbeans folder
  • Deleted User/.nbi folder
  • Searched the registry and deleted Netbeans related entries. (But only one entry was found)
  • Deleted Netbeans Folder in Program Files folder.
  • Uninstalled and Re-installed in a separate drive.
  • Uninstalled and Re-installed under another user account.

None of the above worked, the only thing I did not try was to re-install the Windows XP operating system.

It there any option to try before re-installing the operating system?



Solution 1:[1]

First of all, you need to check proper version of JDK is installed. Netbeans 7.2 requires JDK 1.7, not 1.8.
You can check {Netbeans Install Path}/etc/netbeans.conf. There find netbeans_jdkhome and its value. Make sure you install JDK1.7 and this line netbeans_jdkhome="C:\Program Files\Java\jdk1.7.0_25" for example.
If not, change the value to proper installation path.

Solution 2:[2]

That's some stability issue with NetBeans 7.2

Just Kill and Restart the IDE and it should be fine.

Solution 3:[3]

Make sure that right JDK directory chosen in the installation wizard if you not sure you can change it from C:\Program Files\NetBeans {netbeans version}\etc you will see a file which is netbeans.conf edit it(I am using Notepad++ for that) At the bottom of the file, you will see a line netbeans_jdkhome="C:\Program Files\Java\{jdk directory you want}" make sure it is valid JDK and it is JDK, not JRE

Solution 4:[4]

I had the same problem, make sure you have the required JDK version configured during the installation process.

Solution 5:[5]

First tried everything to no avail, finally I had to uninstall NetBeans 7, then install NetBeans 8, which also aligned with my JDK 8. This resolved the issue for me. Hope this helps others.

Solution 6:[6]

Ah, finally this worked with me on version 11.3, delete this folder, then run the program again

C:\Users\Dell\AppData\Roaming\NetBeans

here my main username is Dell, yours can be different ofcourse

Solution 7:[7]

I found out in my Windows installation of Apache Netbeans 12.4, the file 'tctracker.properties' in 'C:\Users\user\AppData\Roaming\NetBeans\12.4\config\Preferences\org\netbeans\core\windows' was filled with null values. I fixed the issue with letting netbeans generate a new file by moving this '12.4' directory to somewhere else on the disk, starting Netbeans, letting it generate a new 'tctracker.properties'-file, stop it, replace the corrupt file in with this newly generated file and put the '12.4' directory back in place.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Miron
Solution 2 SZ Quadri
Solution 3 Mohammed
Solution 4 David Freire
Solution 5 Eddie Kumar
Solution 6 Omar
Solution 7