Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 679
Buddhika Ariyaratne Avatar asked Aug 29 '12 00:08

Buddhika Ariyaratne


1 Answers

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

like image 76
Mohammed Avatar answered Oct 02 '22 18:10

Mohammed