microsoft / microsoft/vscode-java-debug
java terminal promot error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
Every time I run the java from vscode "Run| Debug" button.
it will give
prompt_ip:8: command not found: networksetup
prompt_load:29: command not found: sysctl
prompt_load:31: command not found: sysctl
prompt_load:44: bad math expression: operand expected at * 0.7'
` following the result.
It looks that it will run the /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 @/var/folders/9m/wk4wyf8n6_s6fhryl541tp9w0000gn/T/cp_7casio0lyeeq4l687bbee3z8n.argfile
which cause the problem.
Does anyone ever meet the same problem as me?
Additionally, I have created two issues.
See https://github.com/microsoft/vscode/issues/84287
and https://github.com/redhat-developer/vscode-java/issues/1136.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the VS Code Run|Debug invocation described in the report and compare its Java command with the listed terminal errors. No repository file or test is named; done would require identifying the source of the networksetup, sysctl, and bad math-expression errors and confirming the behavior is resolved, while reviewing the two referenced issues for context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100