Skip to content

Instantly share code, notes, and snippets.

@owenworley
Created November 22, 2016 20:39
Show Gist options
  • Save owenworley/ef099ebd031bb71d5c32de7b2019c793 to your computer and use it in GitHub Desktop.
Save owenworley/ef099ebd031bb71d5c32de7b2019c793 to your computer and use it in GitHub Desktop.
bash-3.2$ sdk version
SDKMAN 5.1.13+114
bash-3.2$ sdk install java 8u111
tr: Illegal byte sequence
Oracle requires that you agree with the Oracle Binary Code License Agreement
prior to installation. The license agreement can be found at:
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
Do you agree to the terms of this agreement? (Y/n): y
Downloading: java 8u111
In progress...
#################################################### 72.9%
curl: (56) Recv failure: Operation timed out
SHA-256 does not match! Please try re-installing.
Expected: a1c9308b625827ecdf870eab578ced1c5c61bbf2c16195fc5c9ffc25439e673d
Actual : 8c84b92721e20e00c2c597b44d6a88d33d03f770c23fddc711a7a509995bed9b
exit
✘~ sdk install java 8u111
tr: Illegal byte sequence
__sdkman_download:17: file exists: /Users/owenworley/.sdkman/tmp/hook_pre_java_8u111.sh
Oracle requires that you agree with the Oracle Binary Code License Agreement
prior to installation. The license agreement can be found at:
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
Do you agree to the terms of this agreement? (Y/n): y
remove /Users/owenworley/.sdkman/var/cookie? y
Downloading: java 8u111
In progress...
######################################################################## 100.0%
__sdkman_download:40: file exists: /Users/owenworley/.sdkman/tmp/hook_post_java_8u111.sh
Binary validation passed...
a1c9308b625827ecdf870eab578ced1c5c61bbf2c16195fc5c9ffc25439e673d SHA-256 checksum matches.
We will be needing super powers...
Password:
Repackaging Java 8u111...
Attaching to the DMG...
Mounting DMG as Volume...
Volume(s) mounted successfully
Installing PKG inside DMG...
installer: Package name is JDK 8 Update 111
installer: Installing at base path /
installer: The install was successful.
Copy JDK Home to temp folder...
Preparing archive...
Unmounting volume...
"/Volumes/JDK 8 Update 111" unmounted successfully.
Done repackaging...
Cleaning up cookie...
remove /Users/owenworley/.sdkman/var/cookie? y
Installing: java 8u111
Done installing!
Do you want java 8u111 to be set as default? (Y/n): y
Setting java 8u111 as default.
~ java --version
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
✘~ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment