microsoft / microsoft/vscode-java-pack
"java.home" does not work on macOS with one than one JDK installed
@akaroml 已经在做这个了。
开始于 2020年5月26日。
- 主要语言
- TypeScript
- 星标
- 352
- 派生
- 166
- 平均合并
- 17 小时 47 分钟
- 30 天内合并 PR
- 32
描述
Issue Type: Bug
Setup 'java.home' does not work in neither workspace's settings.json nor user's settings.json. I have two JDK installed on my laptop. In settings.json, I point 'java.home' to my JDK 11 folder. However, VS Code always use my JDK 8 for compile/build/run/debug. Only after I deleted JDK 8, VS Code begin to use my JDK 11.
I noticed that even I don't setup 'java.home', VS Code can still auto-detect my installed JDK and use it.
I don't have JAVA_HOME setup in my environment variables.
VS Code version: 1.43.1
macOS version: 10.13.6
Extension version: 0.8.1
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:41.240Z)
OS version: Darwin x64 17.7.0
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。