Closed ninelore closed 2 weeks ago
Thank you for the report! I was able to reproduce the problem. Obviously caused by trying to run VisualVM using Java installed in a path containing spaces.
By default, the extension always starts VisualVM with the --jdkhome
parameter. This means that even if the visualvm_jdkhome
property is defined correctly in visualvm.conf
, and VisualVM runs fine when started externally using .exe
, it fails to start from within the VS Code.
Until fixed, the workaround is to unselect the Settings | Extensions | VisualVM | Use JDK Path for VisualVM option, or manually add "visualvm.startup.useJdkPathForVisualvm": false
to settings.json
. This will allow VisualVM to run using the JDK defined in visualvm.conf
.
Fixed.
Describe the bug The JDK Path, no matter if detected or explicitly set, doesnt seem to work correctly. Ive also tried with and without surrounding quotation marks.
To Reproduce Steps to reproduce the behavior:
Expected behavior VisualVM starting without error
VisualVM log n/a
Screenshots![image](https://github.com/oracle/visualvm/assets/21343557/efe64967-3551-4682-bee6-492f8a2cc148)
Desktop (please complete the following information):
Additional context n/a
LMK if i missed to provide any other info. thanks