Skip to content

VSCode Extension - JDK Path with Spaces not working #572

Description

@ninelore

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:

  1. Have JDK in a Path with spaces (e.g. C:\Program FIles)
  2. try to start VisualVM from the VSCode extension (the "play" icon)
  3. If yes is pressed:
  • if jdkpath is set in visualvm.conf VisualVM will start and instantly crash. (it will start normally if started independently via the exe)
  • if its not set it will error with jdk not found

Expected behavior
VisualVM starting without error

VisualVM log
n/a

Screenshots
image

Desktop (please complete the following information):

  • OS: Win 11
  • JDK version: Eclipse Adoptium 21.0.3.9-hotspot

Additional context
n/a

LMK if i missed to provide any other info. thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions