You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to launch VisualVM on Windows I get the error message "Cannot locate java installation in specified jdkhome"
To Reproduce
Install Eclipse Adoptium jdk-8.0.362.9. No other JDK or JRE installed.
Add C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.362.9-hotspot\bin to PATH. Set JAVA_HOME to C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.362.9-hotspot\
VisualVM is unzipped in C:\visualvm_218
Tried to run VisualVM by just double clicking visualvm.exe in C:\visualvm_218\bin -> Error: Cannot find Java 1.8 or higher.
Tried to launch from command line as visualvm.exe --jdkhome %JAVA_HOME%
Error: Cannot locate java installation in specified jdkhome C:\Program
Tried to launch from command line as visualvm.exe --jdkhome "%JAVA_HOME%"
Error: Cannot locate java installation in specified jdkhome C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.362.9-hotspot
Similar result for visualvm.exe --jdkhome "%JAVA_HOME%"bin
Tried changing backslashes for slashes (read somewhere) visualvm.exe -jdkhome "C:/Program Files (x86)/Eclipse Adoptium/jdk-8.0.362.9-hotspot"
Error: Cannot find Java 1.8 or higher.
Tried to launch from command line as visualvm.exe --jdkhome "%JAVA_HOME%jre"
Error: You are running VisualVM using Java Runtime Environment
All the previous with or without specifiying --userdir
Screenshots
In case it helps:
Expected behavior
VisualVM runs.
Desktop (please complete the following information):
OS: Microsoft Windows Server 2019 Datacenter
JDK version [OpenJDK 1.8.0_362]
VisualVM version [e.g. 2.1.8]
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to launch VisualVM on Windows I get the error message "Cannot locate java installation in specified jdkhome"
To Reproduce
visualvm.exe --jdkhome %JAVA_HOME%
Error: Cannot locate java installation in specified jdkhome C:\Program
visualvm.exe --jdkhome "%JAVA_HOME%"
Error: Cannot locate java installation in specified jdkhome C:\Program Files (x86)\Eclipse Adoptium\jdk-8.0.362.9-hotspot
visualvm.exe --jdkhome "%JAVA_HOME%"bin
visualvm.exe -jdkhome "C:/Program Files (x86)/Eclipse Adoptium/jdk-8.0.362.9-hotspot"
Error: Cannot find Java 1.8 or higher.
visualvm.exe --jdkhome "%JAVA_HOME%jre"
Error: You are running VisualVM using Java Runtime Environment
Screenshots
In case it helps:
Expected behavior
VisualVM runs.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: