Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

JDT.LS fails to start with "Unrecognized VM option 'AllowArchivingWithJavaAgent'"

未关闭 适合新手
#4,511 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
75/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
java, typescript

调研方向

查找 JDT.LS 启动参数的配置位置,很可能在扩展的 Java 语言服务器启动代码中。在代码库中搜索 'AllowArchivingWithJavaAgent' 以找到 VM 选项设置。根据 Java 版本移除或有条件地设置此标志,然后通过使用 Java 26 运行扩展进行测试。

由索引模型根据 Issue 内容生成。

描述

bug

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

redhat-developer/vscode-java 的其他 Issue

查看 redhat-developer/vscode-java 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。