visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Visual VM 2.1.7 connects to my java application of JMX port but say Not supported for this JVM

Open manojjb opened this issue 2 years ago • 4 comments

Describe the bug I am running the Visual VM 2.1.7 on my Mac ARM based. My application is running on the openjdk. The details for the version and distribution below java -version openjdk version "17.0.8" 2023-07-18 OpenJDK Runtime Environment Temurin-17.0.8+7 (build 17.0.8+7) OpenJDK 64-Bit Server VM Temurin-17.0.8+7 (build 17.0.8+7, mixed mode)

I have enabled the JMX on localhost. Now when I run the Visual VM on the MAC it detects my application but it shows as disabled on the application pane. When I right click on my application and press open it show the "Not supported for this JVM"

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

VisualVM log Attached is the log file

[ logfile.txt ](url)

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

  • OS: Mac M1 Pro on Ventura
  • JDK version : 17.0.8+7
  • Version [e.g. 2.0]

Additional context Add any other context about the problem here.

manojjb avatar Nov 07 '23 23:11 manojjb

It looks to me that JMX is not enabled on your localhost - BTW: This needs to enabled for every Java process separately. How did you "enabled the JMX on localhost" and why do you need it? VisualVM will enable JMX in local Java processes automatically.

thurka avatar Nov 14 '23 08:11 thurka

encounter the same problem

nufeng1999 avatar Dec 11 '23 03:12 nufeng1999

same for me, but java 21 temurin and version 2.1.8

OksiBlack avatar Jun 26 '24 13:06 OksiBlack

same for me, but java 21 temurin and version 2.1.8

Please provide steps to reproduce. Thanks.

thurka avatar Jun 27 '24 10:06 thurka