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

Cannot launch: it's impossible to automatically detect wheth

Moderators: Vladimir Kondratyev, Anton Katilin

Cannot launch: it's impossible to automatically detect wheth

Postby kernelfreak » Wed Aug 05, 2015 9:21 am

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.
kernelfreak
 
Posts: 2
Joined: Wed Aug 05, 2015 9:17 am

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

Postby Anton Katilin » Thu Aug 06, 2015 11:03 am

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?
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

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

Postby kernelfreak » Thu Aug 06, 2015 2:20 pm

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?
kernelfreak
 
Posts: 2
Joined: Wed Aug 05, 2015 9:17 am

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

Postby Anton Katilin » Thu Aug 06, 2015 2:56 pm

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.
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 11 guests