Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Facing issues in JProfiler setup in solaris



Hi All,

Im using the following options to enable the profiling agent to the particular process.

-Xbootclasspath/a:'/opt/profiler/jprofiler5/bin/agent.jar' -Xint -agentlib:jprofilerti
LD_LIBRARY_PATH is pointing to the so file location.

When I try to start this process from the CLI in solaris, Im getting the following error.

JProfiler> Protocol version 26
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 8849.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
Error occurred during initialization of VM
java.lang.NoClassDefFoundError: com/jprofiler/agent/InstrumentationCallee
at java.lang.String.(String.java:122)

Can anybody throw some pointers to fix this issue?

Thanks