Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yourkit java profiler : Cannot launch: it's impossible to automatically detect whether a 32-bit or a 64-bit JVM will be used

I am trying to use Yourkit profiler for a Spring-MVC based application running on top of tomcat. I am using Intellij Idea 13. I have successfully installed the plugin as well, that's why I could see the profile option, but I am getting the following error :

Error running Apache runtime
            Cannot launch: it's impossible to automatically detect whether a 32-bit or a 64-bit JVM will be used
            in order to supply appropriate profiler agent version.
            To solve the problem, explicitly choose the JVM kind in the YourKit plugin configuration settings.

Can anyone tell me where exactly is this YourKit plugin configuration settings? I presume there must be some location in IDE where plugins can be configured. Any help would be nice. Thanks.

like image 281
We are Borg Avatar asked Aug 05 '15 09:08

We are Borg


People also ask

What is YourKit Java profiler?

YourKit Java Profiler is the leading profiling tool in the Java market that delivers the most innovative, powerful and smart performance analysis capabilities. YourKit Java Profiler provides extreme time savings as well as solid assurance features. Most of its features are not simply unrivaled but absolutely unique.

Is YourKit open source?

Open source licenseThe license is free. However, we ask you to add a reference to YourKit website on the web pages of your Open Source project.


1 Answers

Check your run/debug configuration setting when you try to run the profiler from idea.

in the Startup/Connection tab, there should be another tab to choose which jre to use. something similar like this

enter image description here

like image 76
kucing_terbang Avatar answered Sep 25 '22 23:09

kucing_terbang