Cannot launch: it's impossible to automatically detect wheth

Questions about YourKit Java Profiler
Post Reply
kernelfreak
Posts: 2
Joined: Wed Aug 05, 2015 9:17 am

Cannot launch: it's impossible to automatically detect wheth

Post by kernelfreak »

I am using Ubuntu 14.04 and Intellij 13. I installed the yourkit plugin successfully, but whenever I start the profiler, I get the error below :

Code: Select all

11:11:27 AM 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.
Where is this plugin configuration setting? I searched in Intellij I couldn't find and neither can I in the software.

Also a bug to note : The application doesn't start when 2nd monitor is active. I have to shut down the monitor to use it.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Cannot launch: it's impossible to automatically detect w

Post by Anton Katilin »

Where is this plugin configuration setting?
It's per run configuration:
https://www.yourkit.com/docs/java/help/ ... n_conf.png

https://www.yourkit.com/docs/java/help/idea.jsp
Also a bug to note : The application doesn't start when 2nd monitor is active. I have to shut down the monitor to use it.
The profiler UI is a Java application, and Java UI library is known to have issues with multiple monitors.
Under which Java version do you run the profiler UI?
kernelfreak
Posts: 2
Joined: Wed Aug 05, 2015 9:17 am

Re: Cannot launch: it's impossible to automatically detect w

Post by kernelfreak »

Anton Katilin wrote:
Where is this plugin configuration setting?
It's per run configuration:
https://www.yourkit.com/docs/java/help/ ... n_conf.png
I dont see that option. I posted the same thing on stackoverflow. Please note, my app does not have any main class. Idea is compiling the code and pushing the war file automatically for tomcat.

https://www.yourkit.com/docs/java/help/idea.jsp
Also a bug to note : The application doesn't start when 2nd monitor is active. I have to shut down the monitor to use it.
The profiler UI is a Java application, and Java UI library is known to have issues with multiple monitors.
Under which Java version do you run the profiler UI?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Cannot launch: it's impossible to automatically detect w

Post by Anton Katilin »

I dont see that option. I posted the same thing on stackoverflow. Please note, my app does not have any main class. Idea is compiling the code and pushing the war file automatically for tomcat.
In IDEA, there is a dialog where you configure settings for run configurations. You can invoke it with "Run | Profile..."

What kind of run configuration is it? Can you provide a screenshot of the run configuration dialog.
Post Reply