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

Profiled application fails to start: 'Error occurred during initialization of VM. Could not find agent library on the library path or in the local directory: yjpagent'

Can't find your answer? Please refer to documentation and demos, ask your question in forum, or contact support.

If you manually configured the command line of the profiled application, please make sure you have made it properly, as described here.

In particular, make sure you select the directory that corresponds to your platform and the appropriate 32 or 64-bit agent version.

On Linux, make sure you appropriately use 32 or 64-bit libraries: bin/linux-x86-32 vs. bin/linux-x86-64. For example, pay attention that even if your Linux is 64-bit, you may use 32-bit JVM, that needs 32-bit agent version.

On Solaris, make sure you use an appropriate platform (SPARC or x86) and a 32 or 64-bit agent version. Even if Solaris is 64-bit, you may use 32-bit JVM. In that case, the 32-bit agent should be used: solaris-<platform>-32 instead of solaris-<platform>-64. To use 64-bit JVM, add -d64 JVM parameter to the command line.

Another possible reason is that profiler agent library cannot be linked because it depends on other libraries not installed on your system. To see if that is the case, please:

  • cd <profiler directory>/bin/<platform>
  • ldd libyjpagent.so

If ldd shows non satisfied dependencies, please try to resolve them by installing the missing shared libraries.

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.