I have already spent a long time to load and test my application, now I need to profile it. But unluckily, the VisualVM always says \"not supported for this JVM\" on my loca
I can reproduce next behaviour. I have a java application with right-click menu item to open jvisualvm. I'm running this java application as standalone setup from a bat file. It means I modify %path% and other needed environment variables like JDK accordingly to form my environment. The BAT that starts application is marked running as non-admin. Environment points to a 64-bit JDK. Then I start other java application as admin. VM lives from the to same 64-bit JDK-source. Then I start jvisualvm from first app with the right click ie.as non-admin. I can see the app in jvisualvm ‘Applications list’ but clickin ‘System properties’ gives error. Message is “Not supported for this JVM”. JVM arguments are exposed.
Solution is like in some other previous comments: Starting my right-click jvisualvm-starter as admin I can see also "system properties" . Certainly if JDKs would be 32-bit and other 64-bit it would not work. been there.
I thought this notion needs to be added here.