Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

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

Moderators: Vladimir Kondratyev, Anton Katilin

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

Postby BillEvans » Wed Jul 06, 2005 3:21 pm

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$


:(
BillEvans
 
Posts: 6
Joined: Thu Jun 30, 2005 10:06 pm

Postby Vladimir Kondratyev » Wed Jul 06, 2005 4:34 pm

What is the output of "java -version" command? You need to use 32bit library if your Java is 32bit.
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby BillEvans » Wed Jul 06, 2005 6:09 pm

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...
BillEvans
 
Posts: 6
Joined: Thu Jun 30, 2005 10:06 pm


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.