Reputation: 115
I just installed Netbeans 8.2 with the JDK package. When I open the exe file nothing happens. Looking at the task manager I notice the netbeans service starting then stopping. I tried typing in the --trace command in the command prompt but don't see anything useful for me to fix.
Upvotes: 1
Views: 38737
Reputation: 11
I did solved it by following Mohsen Sabbaghi.In my case i used the jdk1.8.0_301 for the NetBeans 8.2.
For the latest Apache NetBeans 11 the JDK_20 was not working.
Upvotes: 1
Reputation: 126445
Some policies in the Network where now I am working changed, so I started NetBeans as Administrator and the problem was solved.
Upvotes: 0
Reputation: 168
I had the same problem because two JDK versions were installed on my pc, so changing the Netbeans needed JDK to lower version solved my problem. here are my passed steps:
Step One In your Netbeans home directory (for example, C:\Program Files\NetBeans 8.1), open up the netbeans.conf in the etc directory (C:\Program Files\NetBeans 8.1\etc\netbeans.conf).
Step Two There is a property called netbeans_jdkhome. Change the value to match the JDK you want Netbeans to use (for example, C:\Program Files\Java\jdk1.8.0_161).
Step Three Save your changes (user must be Administrator)
Step Four Restart Netbeans
Upvotes: 7
Reputation: 31
i had the same problem. i solved it by reinstalling JDK. but at first i had two applications that were using JDK (intellij and netbeans) when i uninstalled the intellij the netbeans started to show the problem of starting in task manager and failing on loading the modules.
Upvotes: 3