Skip to content

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

Description

@fbricon

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: openjdk/jdk@000569d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions