Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger not able to launch - command not found #708

Closed
akaroml opened this issue Nov 7, 2019 · 4 comments
Closed

Debugger not able to launch - command not found #708

akaroml opened this issue Nov 7, 2019 · 4 comments

Comments

@akaroml
Copy link
Member

akaroml commented Nov 7, 2019

@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

@akaroml
Copy link
Member Author

akaroml commented Nov 7, 2019

@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

@tianyouhui
Copy link

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

@testforstephen
Copy link
Contributor

In latest debugger extension, we have removed launcher.bat from the command line. @pdonnelly3 @tianyouhui Could you try the latest debugger 0.37.0 to see if the issue still exist? thanks.

@no-response
Copy link

no-response bot commented Dec 16, 2021

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants