From the mailing list:
NetBeans 6.0 on Leopard running under Java 6.0 DP 8 (64-bit Intel only) (or using SoyLatte to compile and run the project earlier. The end result is the
same.)
I am trying to profile a web project deployed under glassfish v2. I select the project, right-click and choose "Profile". I picked the Monitor button, enable
threads monitoring and click on run. The build then fails. Looking at the logs, the agentpath is set to:
-agentpath:/tmp/NBProfiler51408.link/deployed/jdk16/solaris-sparcv9/libprofilerinterface.so=/tmp/NBProfiler51408.link,5140
and the last 2 lines of the log entry shows:
Error occurred during initialization of VM
Could not find agent library in absolute path: /tmp/NBProfiler51408.link/deployed/jdk16/solaris-sparcv9/libprofilerinterface.so
It looks like it's not picking the right platform. I was able to profile a different project setup to run under JDK 5.0 without problems.