Vscode-java-debug: Debugger not able to launch - command not found

Created on 7 Nov 2019  路  2Comments  路  Source: microsoft/vscode-java-debug

@pdonnelly3 reported this in gitter channel:

Hello! I am running into an error and cannot find a solution for it. Just trying to switch to VSCode for Java and running a basic hello world program I am getting this issue after installing the java pack - C:\Users\donne.vscode\extensions\vscjava.vscode-java-debug-0.22.0\scripts\launcher.bat "C:\Program Files\Java\jdk1.8.0_161\bin\java" -Dfile.encoding=UTF-8 -cp "C:\Users\donne\Desktop\projects\cmsc351\Merge Sort\Experiment\bin" app.Experiment
C:Usersdonne.vscodeextensionsvscjava.vscode-java-debug-0.22.0scriptslauncher.bat: command not found

bug

Most helpful comment

@singhalrbl replied with the answer of switching to cmd instead of using wsl as default terminal to solve the problem. We need to cover the wsl case as more and more users adopt it.

ya i got the answer use cmd not wsl in default terminal as .bat files can't be launched in wsl terminal

All 2 comments

@singhalrbl replied with the answer of switching to cmd instead of using wsl as default terminal to solve the problem. We need to cover the wsl case as more and more users adopt it.

ya i got the answer use cmd not wsl in default terminal as .bat files can't be launched in wsl terminal

I also meet this problem, maybe it cause by wsl, please have a check.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexMAS picture AlexMAS  路  5Comments

radu-ion picture radu-ion  路  5Comments

llgcode picture llgcode  路  7Comments

TheSinding picture TheSinding  路  6Comments

dgileadi picture dgileadi  路  3Comments