user368831
user368831

Reputation: 231

JProfiler Assertion failed

I am trying to launch JProfiler 6 in remote mode and get the following error:

JProfiler> Protocol version 28
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 64-bit library
JProfiler> Listening on port: 8849.
JProfiler> Instrumenting native methods.
JProfiler> Can retransform classes.
JProfiler> Native library initialized
JProfiler> VM initialized
JProfiler> Waiting for a connection from the JProfiler GUI ...
JProfiler> Using dynamic instrumentation
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
Assertion failed: (agentClassLocal), function initReferences, file /Users/hannes/buildsys/jprofiler/build/src/c/agent/shared/LiveProfilingSession.cpp, line 95.

Can someone please explain what they are from and how to fix them?

Thanks!

Upvotes: 2

Views: 711

Answers (1)

danieljimenez
danieljimenez

Reputation: 1430

You're missing the reference to agent.jar:

-Xbootclasspath/p:/opt/jprofiler/bin/agent.jar

Upvotes: 1

Related Questions