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

Java 11 support

Moderators: Vladimir Kondratyev, Anton Katilin

Java 11 support

Postby nickt » Fri Oct 19, 2018 11:19 pm

Hi - any updates on when the profiler will be able to support JDK 11?

Currently hitting the following with profiler version 2018.04-b86:
18.04-86 0.001: Cannot start: Java version 11+28 is not supported. Please check whether a newer version of YourKit Java Profiler that supports it exists. You may also disable the version check by specifying the startup option '_no_java_version_check' at your own risk because we do not guarantee it would run trouble free.

Thanks!
- nick
nickt
 
Posts: 1
Joined: Fri Oct 19, 2018 11:13 pm

Re: Java 11 support

Postby Anton Katilin » Mon Oct 22, 2018 12:46 pm

Hello Nick

Java 11 will be supported in the upcoming next release. Early access will be available soon.

As a workaround for the current version, please specify the agent startup option "_no_java_version_check" as suggested.

Best regards,
Anton
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby grogozinsky » Thu Nov 01, 2018 1:19 am

I am having the same issue. Getting "Unsupported Java version" when trying to connect.

My application is running on Open JDK 11 anf YKJ version is the 1.8.0_172 64 bit. Is there any way I can connect my application to remote profiling?

I tried to enter _no_java_version_check in advance attach options but nothing happened?

Where and how exactly this option is supposed to be entered?
grogozinsky
 
Posts: 6
Joined: Thu Nov 01, 2018 12:56 am

Re: Java 11 support

Postby Anton Katilin » Thu Nov 01, 2018 10:14 am

_no_java_version_check doesn't work in the attach mode, only when the agent is loaded on start.

Please enable profiling on the remote machine with the console wizard:
https://www.yourkit.com/docs/java/help/ ... remote.jsp

Also, you may contact support@yourkit.com and ask to provide you with an internal build of the upcoming new version which supports Java 11 out of the box.
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby grogozinsky » Fri Nov 02, 2018 10:19 pm

Hi Anton,

I will definitely ask support to provide me with with an internal build of new version which supports Java 11, but meanwhile can you please explain to me how to add "_no_java_version_check" to tun time JVM arguments?
I went through the link you sent even before I submitted my post but "_no_java_version_check" argument is not mentioned anywhre in YKJ documentation.

Best regards,
Galina.
grogozinsky
 
Posts: 6
Joined: Thu Nov 01, 2018 12:56 am

Re: Java 11 support

Postby Anton Katilin » Mon Nov 05, 2018 10:06 am

Hello Galina

We'll publish an early access build of the next version within a few days.

Best regards,
Anton
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby Anton Katilin » Fri Nov 09, 2018 11:37 am

The EAP builds supporting Java 11 are now publicly available:
https://www.yourkit.com/eap/
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby grogozinsky » Mon Dec 10, 2018 8:15 pm

Hi Anton,

The last time I ran YKJ with EAP build 54 it worked fine, but now when I tried it I got error “This EAP build has expired. Please visit YourKit web site to get the latest version.” I went to the site and downloaded the latest EAP version – build 56 but I am still getting the same error.
Please advise me on how to proceed.

Thanks,
Galina.
grogozinsky
 
Posts: 6
Joined: Thu Nov 01, 2018 12:56 am

Re: Java 11 support

Postby Vladimir Kondratyev » Tue Dec 11, 2018 7:10 am

Dear Galina,

the next EAP will fix this issues. It will be released soon and we will notify you when it is available for download.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1476
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: Java 11 support

Postby grogozinsky » Wed Dec 12, 2018 2:16 am

Actually after I've downloaded the latest build I can't connect to YKJ neither with attached mode nor by starting my server with profiler.

Both modes worked with previous build. Please help ASAP. Below is my starting command. I'm usong Open JDK 11.

mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -agentpath:C:\ProgramData\YourKit\2018.05.63.481F4685\64\yjpagent.dll=disablestacktelemetry,exceptions=disable,delay=10000"
grogozinsky
 
Posts: 6
Joined: Thu Nov 01, 2018 12:56 am

Re: Java 11 support

Postby Anton Katilin » Wed Dec 12, 2018 11:29 am

Could you please provide more detail.

Do you profile locally or remotely? For remote profiling please try adding the startup option "listen=all".

Is the problem that the profiled application is not shown in the list, or that it crashes with the profiler?
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby Anton Katilin » Wed Dec 12, 2018 11:34 am

Also, is the profiler agent log file <user home>/.yjp/log/<session name>-<pid>.log created? Could you please provide it e.g. send to support@yourkit.com
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby mikolajkania » Wed Jan 02, 2019 5:26 pm

It is still not working. JDK 11 was released on September 25, 2018 and it is LTS. Why it takes so much time?
mikolajkania
 
Posts: 2
Joined: Wed Jan 02, 2019 5:19 pm

Re: Java 11 support

Postby Anton Katilin » Thu Jan 03, 2019 6:11 am

Please use the latest EAP build. It supports Java 11:
https://www.yourkit.com/eap/
Anton Katilin
 
Posts: 5741
Joined: Wed Aug 11, 2004 8:37 am

Re: Java 11 support

Postby mikolajkania » Sun Feb 03, 2019 11:11 pm

I think it is not fair to release a Java 11 version support just after all the people who bought YourKit during last year sale have their licenses expired. Especially casue JDK 11 was released on September 25, 2018, half a year ago! We bought the support for a year. Java 11 should be in a free update.

I know that is your business, but I'd consider buying new version next year or when the next LTS will be available. This is how you can lost a customer.
mikolajkania
 
Posts: 2
Joined: Wed Jan 02, 2019 5:19 pm

Next

Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests