I am trying to attach the Netbeans profiler to my Java project but it get stucked with Connecting to the target vm.
I found this old bug report but that is already fixed. My version is 7.1.2 with Java 1.7.0_04 on windows 7.
I tried to disable the firewall and start Netbeans as administrator but still i got the same problem.
A bit strange is that calibration works fine.
I have the feeling it’s a problem with Java 7. Because if I have look into profiler\lib\deployed there is no jdk17 folder. Only jdk16 and jdk15.
Any thoughts?
I found out the profiler works if I attach it dynamically. Therefor you have to start the application first (with a break point). Then you click Profile > Attach Profiler… In the top select your project and attach a local dynamical profiler. If you already created the wrong one you can change it at the bottom of the Attach Profiler dialog. Now select the running process and that’s it.