Skip to content
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

Java 6 install fails on OSX High Sierra #5

Open
bobbywarner opened this issue Jan 24, 2018 · 1 comment
Open

Java 6 install fails on OSX High Sierra #5

bobbywarner opened this issue Jan 24, 2018 · 1 comment

Comments

@bobbywarner
Copy link

There is an updated DMG binary from Apple that needs to be used for current OSX versions:

https://support.apple.com/downloads/java-6

Specifically, I'm looking for this one to be used with High Sierra: Java for OS X 2017-001 -- http://support.apple.com/downloads/DL1572/en_US/javaforosx.dmg

Whereas, SDKman is trying to install this one Java for OS X 2015-001 which is no longer correct.

sdk install java 6u65-apple

Apple requires that you agree with the Apple Software License Agreement
prior to installation.

The license agreement can be found in PDF format here:

  http://images.apple.com/legal/sla/docs/JavaForOSX.pdf

Do you agree to the terms of this agreement? (Y/n): Y

Downloading: java 6u65-apple

In progress...

######################################################################## 100.0%
Binary validation passed...
Repackaging Java 6u65...
Attaching to the DMG...
Mounting DMG as Volume...
Volume(s) mounted successfully
Installing PKG inside DMG...
installer: Cannot install on volume / because it is disabled.
installer: A newer version of this package is already installed.
Copy JDK Home to temp folder...
cp: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home: No such file or directory
unlink: /Users/bobby/.sdkman/tmp/out/java-6u65-apple/bundle: No such file or directory
ln: /Users/bobby/.sdkman/tmp/out/java-6u65-apple/bundle: No such file or directory
Preparing archive...

zip error: Nothing to do! (try: zip -qr --symlinks /Users/bobby/.sdkman/tmp/07ZqcYEhxVFCQ6emrnvUqHWv1dqrJrX3.zip . -i .)
Unmounting volume...
"/Volumes/Java for OS X 2015-001" unmounted successfully.
Done repackaging...
mv: rename /Users/bobby/.sdkman/tmp/07ZqcYEhxVFCQ6emrnvUqHWv1dqrJrX3.zip to /Users/bobby/.sdkman/archives/java-6u65-apple.zip: No such file or directory
unzip:  cannot find or open /Users/bobby/.sdkman/archives/java-6u65-apple.zip, /Users/bobby/.sdkman/archives/java-6u65-apple.zip.zip or /Users/bobby/.sdkman/archives/java-6u65-apple.zip.ZIP.
rm: /Users/bobby/.sdkman/archives/java-6u65-apple.zip: No such file or directory

Stop! The archive was corrupt and has been removed! Please try installing again.
@bobbywarner
Copy link
Author

And no I'm not actively developing with JDK 6, haha! Just need to run/support a legacy app :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant