@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
@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.
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.