redhat-developer / redhat-developer/vscode-java
Invalid runtime for JavaSE-1.8: The path (/usr/lib/jvm/java-8-openjdk) does not point to a JDK.
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Invalid runtime for JavaSE-1.8: The path (/usr/lib/jvm/java-8-openjdk) does not point to a JDK.
Environment
- Operating System: Alpine Linux edge
- JDK version: openjdk version "1.8.0_402"
- Visual Studio Code version: 1.89.1
- Java extension version: v1.33.0
Steps To Reproduce
- Open a project with target JavaSE-1.8 or lower
- Notification pops out and the project gets built with a different JDK (OpenJDK 17 in my case)
Current Result
OpenJDK 8 shipped with the distro is not recognized as valid jvm
Expected Result
OpenJDK 8 shipped with the distro is recognized as valid jvm
Additional Informations
Other OpenJDK versions such as 17 and 21 are recognized properly and used in build
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定源文件或测试。使用 OpenJDK 8 在 Alpine Linux edge 上重现,然后跟踪 extension 的 JDK/runtime 验证入口;当 JavaSE-1.8 接受 /usr/lib/jvm/java-8-openjdk 且不回退到 JDK 17 时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100