Skip to content

1.48.0 appears to only install the universal version instead of win32-x64 #4256

Description

@BobVul

Tested in clean Windows Sandbox on x64 Windows:

  1. Install current VSCode 1.106.1 (system)
  2. Install redhat.java extension (currently 1.48.0)
  3. Open Java file/new file with language set to java
  4. Observe error message:

    Java 21 or more recent is required to run the Java extension. Please download and install a recent JDK. You can still compile your projects with older JDKs by configuring 'java.configuration.runtimes'

My understanding is that this should have installed a win32-x64 embedded JRE and used that, as per https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements. It does not appear to have done so. I don't believe I've done anything to force a universal install; I am using the most obvious install link from the MS VSCode marketplace.

The same thing occurs when installing the extension as a dependency of the recommended vscjava.vscode-java-pack (Extension Pack for Java) from Microsoft. Also tested with both user and system VSCode installs with the same result.

Version: 1.106.1 (system setup)
Commit: cb1933bbc38d329b3595673a600fab5c7368f0a7
Date: 2025-11-16T10:20:23.745Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100
2025-11-19 13:05:15.551 [info] [Shared] Getting Manifest... redhat.java
2025-11-19 13:05:15.568 [info] [Shared] Installing extension: redhat.java {"isMachineScoped":false,"installPreReleaseVersion":false,"pinned":false,"profileLocation":{"$mid":1,"external":"vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","path":"/c:/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","scheme":"vscode-userdata"},"isApplicationScoped":false,"productVersion":{"version":"1.106.1","date":"2025-11-16T10:20:23.745Z"}}
2025-11-19 13:05:16.016 [info] [Shared] Extension signature verification result for redhat.java: Success. Internal Code: 0. Executed: true. Duration: 380ms.
2025-11-19 13:05:17.531 [info] [Shared] Extracted extension to file:///c%3A/Users/WDAGUtilityAccount/.vscode/extensions/redhat.java-1.48.0: redhat.java
2025-11-19 13:05:17.557 [info] [Shared] Renamed to c:\Users\WDAGUtilityAccount\.vscode\extensions\redhat.java-1.48.0
2025-11-19 13:05:17.576 [info] [Shared] Extension installed successfully: redhat.java vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json
2025-11-19 13:05:00.222 [info] Extension host with pid 8360 started
2025-11-19 13:05:00.274 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2025-11-19 13:05:00.298 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
2025-11-19 13:05:00.349 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
2025-11-19 13:05:00.355 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
2025-11-19 13:05:00.394 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2025-11-19 13:05:00.510 [info] Eager extensions activated
2025-11-19 13:05:00.514 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2025-11-19 13:05:00.517 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2025-11-19 13:05:17.685 [info] ExtensionService#_doActivateExtension redhat.java, startup: false, activationEvent: 'onLanguage:java'
2025-11-19 13:05:17.915 [error] Activating extension redhat.java failed due to an error:
2025-11-19 13:05:17.915 [error] {"message":"Java 21 or more recent is required to run the Java extension. Please download and install a recent JDK. You can still compile your projects with older JDKs by configuring ['java.configuration.runtimes'](https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements#java.configuration.runtimes)","label":"Get the Java Development Kit","command":"vscode.open","commandParam":{"$mid":1,"path":"/products/openjdk/download/","scheme":"https","authority":"developers.redhat.com","query":"sc_cid=701f2000000RWTnAAO"}}

Activity

  1. BobVul commented on Nov 19, 2025

    @BobVul
    Author

    Stepping through previous versions it looks like 1.46.0 and 1.47.0 install a win32-x64 version as expected, while 1.48.0 does not:

    2025-11-19 13:07:29.835 [info] [Shared] Getting Manifest... redhat.java
    2025-11-19 13:07:29.889 [info] [Shared] Installing extension: redhat.java {"installPreReleaseVersion":false,"version":"1.46.0","installGivenVersion":true,"pinned":false,"isMachineScoped":false,"profileLocation":{"$mid":1,"external":"vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","path":"/c:/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","scheme":"vscode-userdata"},"isApplicationScoped":false,"productVersion":{"version":"1.106.1","date":"2025-11-16T10:20:23.745Z"}}
    2025-11-19 13:07:32.904 [info] [Shared] Extension signature verification result for redhat.java: Success. Internal Code: 0. Executed: true. Duration: 290ms.
    2025-11-19 13:07:35.609 [info] [Shared] Extracted extension to file:///c%3A/Users/WDAGUtilityAccount/.vscode/extensions/redhat.java-1.46.0-win32-x64: redhat.java
    2025-11-19 13:07:35.662 [info] [Shared] Renamed to c:\Users\WDAGUtilityAccount\.vscode\extensions\redhat.java-1.46.0-win32-x64
    2025-11-19 13:07:35.683 [info] [Shared] Extension installed successfully: redhat.java vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json
    2025-11-19 13:08:12.390 [info] [Shared] Getting Manifest... redhat.java
    2025-11-19 13:08:12.399 [info] [Shared] Installing extension: redhat.java {"installPreReleaseVersion":false,"version":"1.47.0","installGivenVersion":true,"pinned":true,"productVersion":{"version":"1.106.1","date":"2025-11-16T10:20:23.745Z"},"operation":3,"isApplicationScoped":false,"profileLocation":{"$mid":1,"external":"vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","path":"/c:/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","scheme":"vscode-userdata"}}
    2025-11-19 13:08:15.822 [info] [Shared] Extension signature verification result for redhat.java: Success. Internal Code: 0. Executed: true. Duration: 457ms.
    2025-11-19 13:08:18.739 [info] [Shared] Extracted extension to file:///c%3A/Users/WDAGUtilityAccount/.vscode/extensions/redhat.java-1.47.0-win32-x64: redhat.java
    2025-11-19 13:08:18.771 [info] [Shared] Renamed to c:\Users\WDAGUtilityAccount\.vscode\extensions\redhat.java-1.47.0-win32-x64
    2025-11-19 13:08:18.787 [info] [Shared] Marked extension as removed redhat.java-1.46.0-win32-x64
    2025-11-19 13:08:18.791 [info] [Shared] Extension installed successfully: redhat.java vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json
    2025-11-19 13:08:27.468 [info] [Shared] Getting Manifest... redhat.java
    2025-11-19 13:08:27.476 [info] [Shared] Installing extension: redhat.java {"installPreReleaseVersion":false,"version":"1.48.0","installGivenVersion":true,"pinned":true,"productVersion":{"version":"1.106.1","date":"2025-11-16T10:20:23.745Z"},"operation":3,"isApplicationScoped":false,"profileLocation":{"$mid":1,"external":"vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","path":"/c:/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json","scheme":"vscode-userdata"}}
    2025-11-19 13:08:27.797 [info] [Shared] Extension signature verification result for redhat.java: Success. Internal Code: 0. Executed: true. Duration: 264ms.
    2025-11-19 13:08:29.328 [info] [Shared] Extracted extension to file:///c%3A/Users/WDAGUtilityAccount/.vscode/extensions/redhat.java-1.48.0: redhat.java
    2025-11-19 13:08:29.353 [info] [Shared] Renamed to c:\Users\WDAGUtilityAccount\.vscode\extensions\redhat.java-1.48.0
    2025-11-19 13:08:29.368 [info] [Shared] Marked extension as removed redhat.java-1.47.0-win32-x64
    2025-11-19 13:08:29.370 [info] [Shared] Extension installed successfully: redhat.java vscode-userdata:/c%3A/Users/WDAGUtilityAccount/.vscode/extensions/extensions.json
    

    This sounds like it might be similar to #4254, except one version later and win32-x64 instead of linux-x64?

  2. changed the title [-]Fresh 1.48.0 install does not use embedded JRE; prompts for an external JDK instead[/-] [+]1.48.0 appears to only install the universal version instead of win32-x64[/+] on Nov 19, 2025
  3. pinned this issue on Nov 19, 2025
  4. fbricon commented on Nov 19, 2025

    @fbricon
    Collaborator

    Indeed, 1.48 universal was accidentally published, without platform specific versions, that embed a JRE to launch the Java Language Server. We'll be performing a proper release today to fix this.

  5. added this to the End November 2025 milestone on Nov 19, 2025
  6. fbricon commented on Nov 19, 2025

    @fbricon
    Collaborator

    1.49 was released with all platform specific flavors:

    • universal
    • linux arm64
    • linux x64
    • windows x64
    • macOs silicon
    • macOs intel
  7. BobVul commented on Nov 20, 2025

    @BobVul
    Author

    Thanks, all seems good now.

  8. unpinned this issue on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions