Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You are running VisualVM using Java Runtime Environment (JRE) #566

Open
somebush opened this issue Apr 14, 2024 · 1 comment
Open

You are running VisualVM using Java Runtime Environment (JRE) #566

somebush opened this issue Apr 14, 2024 · 1 comment
Labels

Comments

@somebush
Copy link

Describe the bug
Windows 10. I get the error You are running VisualVM using Java Runtime Environment (JRE) when starting. However, on my disk there is a folder java-1.8.0-openjdk-1.8.0.392-1 and I added it to the PATH variable.

To Reproduce
Run visualvm.exe
Get this error

Expected behavior
Program works

VisualVM log
I have no log file

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

Desktop (please complete the following information):
Windows 10
java-1.8.0-openjdk-1.8.0.392-1
visualvm_218

@somebush somebush added the bug label Apr 14, 2024
@thurka
Copy link
Member

thurka commented Apr 22, 2024

You can specify JDK with --jdkhome option.
To do so run visualvm from cmmand line:
visualvm.exe --jdkhome <path_to_jdk>
See visualvm.exe --help for more info about command line arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants