redhat-developer / redhat-developer/vscode-java
Unable to point to the JDK in a docker container
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
It might not be an issue because I think it's possible to configure this extension so it can the JDK binary's from a docker container. However I also see the possibility that there is some issue with the extension in the way it is facilitating the configuration of the JDK.
Please have a look at this Stack Overflow topic where we try to figure out how to configure the extension and docker container, to make them work together.
Environment
- Operating System: Ubuntu 20.10
- JDK version: 1.8
- Visual Studio Code version: 1.54.3
- Java extension version: 0.76.0
Steps To Reproduce
- Follow all the steps described in the Stack Overflow question until update #1 in a valid Java project.
Current Result
Errors, see stack overflow question.
Expected Result
A working Java Language Server and Java code being compiled.
Additional Information
The following issues might be related: #1801 and #1754
I was not able to get Java Language Server logs, I tried but got:
Command 'Java: Open Java Language Server Log File' resulted in an error (command 'java.open.serverLog' not found)
Attached files:
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 Stack Overflow 主题、附加的 developer-console.log 以及相关 issue #1801 和 #1754 开始。调查扩展是如何配置为使用 Docker 容器中的 JDK 的,以及为什么 Java Language Server 的日志命令不可用。当 Java Language Server 正常工作且 Java 代码能在所述设置中编译时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100