microsoft / vscode-java-debug

Java Debugger for Visual Studio Code.
Other
530 stars 339 forks source link

ExternalTerminal 'C:\Program' is not recognized... #1478

Closed OJooohn closed 6 months ago

OJooohn commented 6 months ago

Basically, when i try to run a java code in the Windows cmd, it returns an error 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Note: in my notebook i tried and it works, i tried everything, change the java PATH, install Java 22, Java 8, and nothing works.

Environment
Steps To Reproduce
  1. Change to externalTerminal in Debugger for Java extension
  2. Run the code

https://github.com/microsoft/vscode-java-debug/assets/141842194/ff07bb2d-2082-4b2c-a9cc-39fffd22ff7e