I need to profile jetty server on linux system, for it I've started jetty using next command line JAVA_OPTIONS='-Xrunjprofiler' sh jetty.sh start
and received error Could not find agent library on the library path or in the local directory: jprofiler, How can I added library path on linux?
Thanks.
Asked
Active
Viewed 5,641 times
0

jitm
- 2,569
- 10
- 40
- 55
-
1If you simply use the wizard, it will tell you exactly what you need to do. – Gábor Lipták Jan 03 '11 at 21:09
1 Answers
1
try adding the Jprofiler to the PATH. I hope it works.

Vanchinathan Chandrasekaran
- 5,704
- 8
- 43
- 48
-
I have executed next command export PATH=$PATH:/usr/local/jprofiler6, result the same ... :( – jitm Dec 27 '10 at 21:35
-
add this to the environment variables LD_LIBRARY_PATH. Refer to the right library, it matters whether you are using a 64 bit or 32 bit library. – Vanchinathan Chandrasekaran Dec 27 '10 at 21:49
-
So I think you should point LD_LIBRARY_PATH to 64 bit library of Jprofiler. http://www.coderanch.com/t/416403/Performance/java/Jprofiler-linux-throwing-error – Vanchinathan Chandrasekaran Dec 27 '10 at 22:31