JDT.LS fails to start with "Unrecognized VM option 'AllowArchivingWithJavaAgent'"
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- java, typescript
调研方向
查找 JDT.LS 启动参数的配置位置,很可能在扩展的 Java 语言服务器启动代码中。在代码库中搜索 'AllowArchivingWithJavaAgent' 以找到 VM 选项设置。根据 Java 版本移除或有条件地设置此标志,然后通过使用 Java 26 运行扩展进行测试。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When running vscode-java pre-release, with Java 26 (I haven't touched Java in ages), in vscode insiders, the server fails to start:
2026-09-23 15:41:54.784 [error] Unrecognized VM option 'AllowArchivingWithJavaAgent' []
2026-09-23 15:41:54.784 [error] Error: Could not create the Java Virtual Machine. []
2026-09-23 15:41:54.784 [error] Error: A fatal exception has occurred. Program will exit. []
The AllowArchivingWithJavaAgent option was removed a year ago: https://github.com/openjdk/jdk/commit/000569da601afde85f83c361c9f1a7ba3814bff4
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 9 分钟
- 30 天内合并 PR
- 10
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
redhat-developer/vscode-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
redhat-developer/vscode-java#4426 ·
-
bug
难度 4/5 3-5 天 新手友好度 45/100
redhat-developer/vscode-java#4506 · 3 条评论 · 4 个 reaction ·
-
bug
难度 4/5 3-5 天 新手友好度 45/100
redhat-developer/vscode-java#4505 · 4 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 52/100
redhat-developer/vscode-java#4504 · 3 条评论 · 1 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 62/100
redhat-developer/vscode-java#4502 ·
查看 redhat-developer/vscode-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
mksglu/context-mode#1200 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
难度 2/5 1-3 小时 新手友好度 75/100
anthropics/claude-code#96687 ·
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
AOSSIE-Org/DebateAI#582 · 2 条评论 ·