microsoft / microsoft/vscode-java-debug
JDK Requirements should clarify that java 8 requires a jre, not a jdk
未关闭
还没有人认领这个 Issue。
ai-triaged
documentation
jdk
question
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements documents how to set the project JDK. The example config contains "path": "/path/to/jdk-8". However, when I followed the instructions and entered a path to a JDK, I got an error that the jdk did not fulfill the requirements of "JavaSE-1.8". When I instead downloaded a jdk8 jre and pointed to it, everything worked. So I think the documentation should more clearly state that you need a JRE, not a JDK, for java 8.
Environment
- Operating System: Ubuntu Linux
- JDK version: 8
- Visual Studio Code version: 1.75.1
- Java extension version: Language Support for Java(TM) by Red Hat v1.15.0
- Java Debugger extension version: Debugger for Java v0.48.0
Steps To Reproduce
- Follow instructions in https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements to configure a java 8 jdk as the default
- Observe error "Runtime at '/path/to/jdk1.8.0_xxx' is not compatible with the 'JavaSE-1.8' environment"
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
打开链接的 JDK-Requirements wiki 页面,并检查 Java 8 的示例配置。明确所需的运行时类型,使其与 issue 中描述的可正常工作的设置一致,然后验证这些说明不再将用户引向不兼容的路径。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100