简体   繁体   中英

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.

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

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM