Search code examples
javaprofilingjvisualvm

How to show profiler tab in Java VisualVM?


I have launched a java application with the following arguments :

java
  -server
  -Dcom.sun.management.jmxremote.port=6789
  -Dcom.sun.management.jmxremote.ssl=false 
  -Dcom.sun.management.jmxremote.authenticate=false
  -Dvisualvm.display.name=MyApp
  -cp <classpath>
  ... application arguments ...

I can see my application in jvisualvm but the Profiler tab doesn't show up.

What arguments should I add to my application command line ?

JDK 1.6.0_24-b07


Solution

  • This did not help me, I got the desired Profiler tab to appear after running my application under jdk6. The versions must agree, also check if one is 32-bit and the other 64-bit.