-agentlib:foobar.so problems
Tim Bell
Tim.Bell at Sun.COM
Thu Jul 26 23:41:27 UTC 2007
Peter Lawrence wrote:
>> java -agentlib:jitsyms.so fib
> Error occurred during initialization of VM
> Could not find agent library on the library path or in the local
> directory: jitsyms.so
Set up LD_LIBRARY_PATH on Solaris/Linux, or PATH on Windows so
your library will be discovered during load time.
For more information, take a look here:
The JVM Tool Interface (JVM TI): How VM Agents Work
http://java.sun.com/developer/technicalArticles/J2SE/jvm_ti/
Search for the section titled "Native Library Loading".
HTH - Tim
More information about the discuss
mailing list