From 92feba347f28a6179bd2018aea93176c1657969c Mon Sep 17 00:00:00 2001 From: Amrita kumari mishra Date: Wed, 1 Apr 2026 19:19:42 +0000 Subject: [PATCH] Update bundled JRE to Java 25 --- .github/workflows/release.yml | 2 +- scripts/index.mjs | 2 +- scripts/jre.mjs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eafd7f074..cea6693a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,7 +140,7 @@ jobs: # Package for each platform (only downloads JDK and creates VSIX, no recompilation) platforms=("win32-x64" "win32-arm64" "linux-x64" "linux-arm64" "darwin-x64" "darwin-arm64") for platform in ${platforms[@]}; do - npm run download-jre -- --target ${platform} --javaVersion 21 + npm run download-jre -- --target ${platform} --javaVersion 25 SKIP_WEBPACK=true vsce package ${{ env.publishPreReleaseFlag }} --target ${platform} -o java-${platform}-${{ env.EXT_VERSION }}-${GITHUB_RUN_NUMBER}.vsix done diff --git a/scripts/index.mjs b/scripts/index.mjs index ceb5f9c86..e4c16616a 100644 --- a/scripts/index.mjs +++ b/scripts/index.mjs @@ -113,7 +113,7 @@ Commands: repo-fix Fix package-lock.json registry references Examples: - node scripts/index.js download-jre --target darwin-x64 --javaVersion 21 + node scripts/index.js download-jre --target darwin-x64 --javaVersion 25 node scripts/index.js build-or-download node scripts/index.js watch-server `); diff --git a/scripts/jre.mjs b/scripts/jre.mjs index 0485afda7..abd9f68c8 100644 --- a/scripts/jre.mjs +++ b/scripts/jre.mjs @@ -8,7 +8,7 @@ import { downloadFile, getScriptDir, extractTarGz, handleError, setupMainExecuti const dirname = getScriptDir(); -const LATEST_JRE = 21; +const LATEST_JRE = 25; const platformMapping = { "linux-arm64": "linux-aarch64",