I wanted to run the profiler from Netbeans 21 When clicking on profile, it aborts:

--- exec:1.2.1:exec (default-cli) @ pdfbox-debugger ---
Error occurred during initialization of VM
Could not find agent library C:/Program in absolute path, with error: Can't find dependent libraries

I suspect this is because of the space in the path. The command line in the output window contains this:

...

\"-Dexec.vmArgs='-agentpath:C:/Program Files/NetBeans-21/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll=C:\\Program Files\\NetBeans-21\\netbeans\\profiler\\lib,5140,10'

....


This one says I should install Netbeans in a path without spaces:

https://bz.apache.org/netbeans/show_bug.cgi?id=82603

This one claims the problem was fixed:

https://bz.apache.org/netbeans/show_bug.cgi?id=72941

This is not a blocker, I downloaded visualvm and ran it separately.

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to