This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
java7 cannot be installed on yosemite #441
Comments
I'm not experiencing this issue, see below.
|
Closing this issue - Oracle issued an update (1.7.0_56 was the one that was having problems) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The java installer cannot be installed on yosemite - which breaks the java7 cask.
There is a workaround (described at http://java.wildstartech.com/Java-Platform-Standard-Edition/mac-os-x-java-development/how-to-install-java-on-yosemite) which basically patches the SystemVersion.plist to "pretend" like it's 10.9 and then patch it back.
Basically, it runs:
before installation, and then runs:
after installation.
The change would be trivial to implement in the cask definition, however, it seems a bit "dangerous" to me (you'd need to make sure that the second command runs no matter what, even if the installation fails).
Another alternative, described at http://gabrielrinaldi.me/how-to-install-jdk-7-on-yosemite-10-10/ details a way to expand the package, patch the erroneous check, and then re-package it. That is not as trivial as the other approach, but is a bit "safer", perhaps.
Or, we just wait for Oracle to release a version of the Java7 installer that works on Yosemite.
I just wanted to log out this issue to see if there were any suggestions.
The text was updated successfully, but these errors were encountered: