Skip to content

Upgrade the bundled JDK version to 25 LTS #4439

Description

@XhstormR

Is your feature request related to a problem? Please describe.
The currently bundled JDK version is 21, which does not recognize the UseCompactObjectHeaders VM option; upgrading to the latest LTS version (25) resolves this issue.

{
  message: 'Starting Java server with: /Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/jre/21.0.11-macosx-aarch64/bin/java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable -javaagent:/Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/lombok/lombok-1.18.39-4050.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/leo/Library/Application Support/Code/User/workspaceStorage/86672a3e9479386619cea829e48e468b/redhat.java -Daether.dependencyCollector.impl=bf -jar /Users/leo/.vscode/extensions/redhat.java-1.55.0-darwin-arm64/server/plugins/org.eclipse.equinox.launcher_1.7.200.v20260619-2039.jar -configuration /Users/leo/Library/Application Support/Code/User/globalStorage/redhat.java/1.55.0/config_mac -data /Users/leo/Library/Application Support/Code/User/workspaceStorage/86672a3e9479386619cea829e48e468b/redhat.java/jdt_ws',
  level: 'info',
  timestamp: '2026-06-29 11:05:18.884'
}
{
  message: 'Picked up JAVA_TOOL_OPTIONS: -XX:+UseZGC -XX:+UseStringDeduplication -XX:+UseCompactObjectHeaders\n' +
    "Unrecognized VM option 'UseCompactObjectHeaders'\n" +
    'Error: Could not create the Java Virtual Machine.\n' +
    'Error: A fatal exception has occurred. Program will exit.\n',
  level: 'info',
  timestamp: '2026-06-29 11:05:19.273'
}

Describe the solution you'd like
Upgrade the bundled JDK version to 25 LTS

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions