Skip to content

Bug: Unable to install the Windows version of the JetBrains Java Runtime 21.0.9 #1494

@6XGate

Description

@6XGate

Bug report

Unable to install the Windows version of the JetBrains Java Runtime 21.0.9, it's not a zip file, but a tar.gz file.

To reproduce

In a Bash or Zsh terminal within MSYS2; run the following command:
sdk install java 21.0.9-jbr

The following error will be produced: (note $HOME is not actually shown, just used in this block)

######################################################################## 100.0%
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of $HOME/.sdkman/tmp/java-21.0.9-jbr.zip or
        $HOME/.sdkman/tmp/java-21.0.9-jbr.zip.zip, and cannot find $HOME/.sdkman/tmp/java-21.0.9-jbr.zip.ZIP, period.

Stop! The archive was corrupt and has been removed! Please try installing again.

The following header file was produced in the tmp directory:

HTTP/2 302
date: Tue, 03 Feb 2026 01:31:50 GMT
content-length: 0
location: https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-21.0.9-windows-x64-b1163.78.tar.gz
cf-ray: 9c7e2bc8fb836738-ATL
x-sdkman-archivetype: tar.gz
x-do-app-origin: 36eed8e8-db3b-47fc-9e50-00d5fa45ae6e
cache-control: private
x-do-orig-status: 302
cf-cache-status: MISS
set-cookie: __cf_bm=_lKDaM3xC0R_6TFa3ghQxptkf.XvEamW3kvkxkyNfk0-1770082310-1.0.1.1-C5v1FjnMiCJgqINKvYr.59kFb.h38y21p5Q37iGSsCgki2N_t_ZOFciw9uCeohsTADJ8uBLggMLmGvqSeOHucSj9nRFbd._2f2tDV01ce3A; path=/; expires=Tue, 03-Feb-26 02:01:50 GMT; domain=.broker.sdkman.io; HttpOnly; Secure; SameSite=None
server: cloudflare
alt-svc: h3=":443"; ma=86400

HTTP/2 302
content-type: text/html
content-length: 138
location: https://d2xrhe97vsfxuc.cloudfront.net/jbrsdk_jcef-21.0.9-windows-x64-b1163.78.tar.gz
server: nginx
date: Tue, 03 Feb 2026 01:31:51 GMT
x-debug-redirectfromequinix: 0
expires: Tue, 03 Feb 2026 01:31:50 GMT
cache-control: no-cache
x-debug-remoteaddr: 18.68.48.173
x-debug-forwardedfor: 146.85.126.113
x-debug-proxyprotocoladdr: 18.68.48.173
x-debug-realipremoteaddr: 18.68.48.173
x-debug-redirectfromawsbuildfarm: 0
x-cache: Miss from cloudfront
via: 1.1 bce792b40f7864360050d3276b4991f8.cloudfront.net (CloudFront)
x-amz-cf-pop: ATL59-P7
x-amz-cf-id: S93Mz9PUaqXb4Bczkd3Ym4H5j3F8tNBvUXzoZ5Kag5rTJTEP3--JMg==
x-robots-tag: none: noarchive

HTTP/2 200
content-type: application/x-tar
content-length: 604125673
date: Tue, 03 Feb 2026 00:51:33 GMT
last-modified: Sat, 01 Nov 2025 10:05:38 GMT
etag: "abf290502886342945901041c1895091-73"
x-amz-server-side-encryption: AES256
x-amz-meta-md5: b85920fb09a3ea6704b4f68c32a7d6b7
x-amz-version-id: ACH1cw5u8zNc3R4pLuk0TEILBiXxEvhX
accept-ranges: bytes
server: AmazonS3
x-cache: Hit from cloudfront
via: 1.1 47a9bc84b0e66b285a5367ee6c7d1608.cloudfront.net (CloudFront)
x-amz-cf-pop: ATL58-P11
x-amz-cf-id: oNxZiahLwemGS-4Ujbh9bLlQ1Tg-OZr-spbSL0BNIgIHmoaGKk3Tug==
age: 2418

System info

  • OS: Windows 10 22H2, MSYS2 3.6.6-1
  • Zsh 5.9 (x86_64-pc-cygwin)
  • SDKMAN
    SDKMAN!
    script: 5.20.0
    native: 0.7.16 (windows x86_64)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions