Problem with 4.5-eap-build618 - can't find/read agent lib

Questions about YourKit Java Profiler
Post Reply
BillEvans
Posts: 6
Joined: Thu Jun 30, 2005 10:06 pm

Problem with 4.5-eap-build618 - can't find/read agent lib

Post by BillEvans »

I am trying out the EAP version (4.5 b618) on Solaris 10 (64bit), but can't get agent library to load. I believe I have configured it correctly (see below)...

Any ideas??

-bash-3.00$ env
TERM=vt100
SHELL=/bin/bash
LD_LIBRARY_PATH=/usr/yourkit/yjp-4.5-eap-build618/bin/solaris-x86-64:


-bash-3.00$ java -agentlib:yjpagent=help
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent
-bash-3.00$ cd /usr/yourkit/yjp-4.5-eap-build618/bin/solaris-x86-64/
-bash-3.00$ pwd
/usr/yourkit/yjp-4.5-eap-build618/bin/solaris-x86-64
-bash-3.00$ java -agentlib:yjpagent=help
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: yjpagent
-bash-3.00$ ls -al
total 3316
drwxr-xr-x 2 bill staff 512 Jul 6 15:47 .
drwxr-xr-x 10 bill staff 512 Jul 6 15:49 ..
-rw-r--r-- 1 bill staff 1680816 Jun 29 22:24 libyjpagent.so
-bash-3.00$


:(
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

What is the output of "java -version" command? You need to use 32bit library if your Java is 32bit.
BillEvans
Posts: 6
Joined: Thu Jun 30, 2005 10:06 pm

Post by BillEvans »

Oops, silly me... to think that installing solaris 10 64 bit would automatically have with it the 64 bit jvm!!

Thanks... sorry to bother you...
Post Reply