You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Tilman Hausherr <TH...@t-online.de> on 2024/03/23 15:19:35 UTC

Could not find agent library C:/Program in absolute path

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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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