Yoru Kit Profiler UI not started

Questions about YourKit Java Profiler
Locked
denisBs
Posts: 3
Joined: Mon Oct 12, 2020 11:03 am

Yoru Kit Profiler UI not started

Post by denisBs »

Your Kit Profiler UI not started.
When I start

Code: Select all

YourKit-JavaProfiler-2020.9/bin/profiler.sh
, i see

Code: Select all

Cannot find Java 11 to run YourKit Java Profiler.
Java search sequence:
 - environment variable YJP_JAVA_HOME
 - bundled JRE
 - environment variable JAVA_HOME
 - 'java' in PATH
And Your Kit Profiler UI not started
denisBs
Posts: 3
Joined: Mon Oct 12, 2020 11:03 am

Re: Yoru Kit Profiler UI not started

Post by denisBs »

denisBs wrote:Your Kit Profiler UI not started.
When I start

Code: Select all

YourKit-JavaProfiler-2020.9/bin/profiler.sh
, i see

Code: Select all

Cannot find Java 11 to run YourKit Java Profiler.
Java search sequence:
 - environment variable YJP_JAVA_HOME
 - bundled JRE
 - environment variable JAVA_HOME
 - 'java' in PATH
And Your Kit Profiler UI not started
JDK version: 1.8.0_181.

Previous jourkit builds was started without errors, but i cant create a license key...
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Yoru Kit Profiler UI not started

Post by Anton Katilin »

What is the platform?
What is the output of "uname -a"?

As the error suggests, point YJP_JAVA_HOME or JAVA_HOME to a Java 11 installation directory.
denisBs
Posts: 3
Joined: Mon Oct 12, 2020 11:03 am

Re: Yoru Kit Profiler UI not started

Post by denisBs »

Anton Katilin wrote:What is the platform?
What is the output of "uname -a"?

As the error suggests, point YJP_JAVA_HOME or JAVA_HOME to a Java 11 installation directory.

Code: Select all

uname -a
Linux sshell-personalBook 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Java 11 is not install on my computer, i have only java 8.
in you documentation written:
YourKit Java Profiler supports Java 7 - Java 15. To profile Java 6 and older, please download previous profiler version from archive.
What is the property "YJP_JAVA_HOME"?
Can I install java 11 only for YourKit, and not changed java 8 in JAVA_HOME ?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Yoru Kit Profiler UI not started

Post by Anton Katilin »

You have Linux x64, the profiler should run on it out of the box with the bundled JRE.
Please ensure you downloaded and unpacked the ZIP bundle from https://www.yourkit.com/download/

Please unpack with "unzip <file name>.zip" in command line. Other tools may not keep attributes while extracting files from a zip.
What is the property "YJP_JAVA_HOME"?
Can I install java 11 only for YourKit, and not changed java 8 in JAVA_HOME ?
YJP_JAVA_HOME environment variable serves exactly this purpose: to customize Java for the profiler UI only, without modifying the common variable JAVA_HOME.
Locked