redhat-developer / redhat-developer/vscode-java

Upgrade the bundled JDK version to 25 LTS

Open
#4,439 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named; start by locating the configuration or build entry point that selects the bundled JDK and checking how the extension packages it. Verify that the resulting bundle uses JDK 25 LTS and starts successfully with UseCompactObjectHeaders.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.