SSerguey Asael Shinder
Java coding notes: the JVM, and writing software that lasts

Serguey Asael Shinder: Oracle's Java extension for VS Code 27.0.0 now needs JDK 21 to run

· by Serguey Asael Shinder / Serguey Shinder

Oracle released version 27.0.0 of its Java Platform extension for Visual Studio Code on 5 October; Inside Java pointed to it on 8 October. The extension is the NetBeans-based Java language server for VS Code, separate from the Red Hat/Microsoft Java extension pack.

The change that can break a setup. 27.0.0 upgrades the embedded language server to NetBeans 31, and the extension now requires JDK 21 or newer to run. The release notes are explicit that this is about the JDK the extension runs on: the jdk.project.jdkhome setting still supports projects using JDK 8 and above. So a team building a Java 11 or Java 17 project is not forced to upgrade its code — but every developer machine needs a JDK 21+ installed and selected for the extension itself, via the jdk.jdkhome setting.

Serguey Asael Shinder: Oracle's Java extension for VS Code 27.0.0 now needs JDK 21 to run
Oracle's Java extension for VS Code 27.0.0 now needs JDK 21 to run — Serguey Asael Shinder

What else is in it:

What to do. Before the extension auto-updates across a team, check which JDK each developer's VS Code points jdk.jdkhome at. If it is 17 or older, the language server will not start after the update; install a JDK 21+ for the tooling and keep jdk.project.jdkhome on whatever your project builds with. CI is unaffected — this is an editor dependency, not a build one.

Release contents are quoted from the v27.0.0 release page; Inside Java's pointer is at https://inside.java/2026/10/08/java-vscode-extension-update.