-
-
Notifications
You must be signed in to change notification settings - Fork 628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing jdk with sdkman keeps reporting errors #1285
Labels
Comments
Do you have |
please remove downloaded package, redownload will be ok. |
i think this not check the package whether download complete . |
code just run install script, so failed. |
Also getting errors trying to install java, guess the download is incomplete. $ sdk install java 22.0.1-tem
Downloading: java 22.0.1-tem
In progress...
################################################################################################ 100.0%
Repackaging Java 22.0.1-tem...
/usr/bin/env: ‘zip’: No such file or directory
Done repackaging...
unzip: cannot find or open /home/yadav/.sdkman/tmp/java-22.0.1-tem.zip, /home/yadav/.sdkman/tmp/java-22.0.1-tem.zip.zip or /home/yadav/.sdkman/tmp/java-22.0.1-tem.zip.ZIP.
Stop! The archive was corrupt and has been removed! Please try installing again.
[Sat Jun 22 21:17:38][yadav@source]:~ $ sdk list java
[Sat Jun 22 21:19:02][yadav@source]:~
$ sdk install java 22.0.1-oracle
Downloading: java 22.0.1-oracle
In progress...
################################################################################################ 100.0%
Repackaging Java 22.0.1-oracle...
/usr/bin/env: ‘zip’: No such file or directory
Done repackaging...
unzip: cannot find or open /home/yadav/.sdkman/tmp/java-22.0.1-oracle.zip, /home/yadav/.sdkman/tmp/java-22.0.1-oracle.zip.zip or /home/yadav/.sdkman/tmp/java-22.0.1-oracle.zip.ZIP.
Stop! The archive was corrupt and has been removed! Please try installing again. Download folder$ ls -l /home/yadav/.sdkman/tmp/
total 20
-rw-r--r-- 1 yadav yadav 931 Jun 22 21:19 hook_post_java_22.0.1-oracle.sh
-rw-r--r-- 1 yadav yadav 922 Jun 22 21:19 hook_post_java_22.0.1-tem.sh
-rw-r--r-- 1 yadav yadav 534 Jun 22 21:19 java-22.0.1-oracle.headers.tmp
-rw-r--r-- 1 yadav yadav 5157 Jun 22 21:19 java-22.0.1-tem.headers.tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
When I use rockylinux version 9 and use sdkman to install java, it reports the same error no matter what version is installed, I don't know why this problem occurs, and I am asking for the community's help, the specific error message and system version information is in the following screenshot.
System info
The text was updated successfully, but these errors were encountered: