Error trying to installing JDK8 U11 OSX 10.10 Yosemite
java, macos, osx-yosemite
Solution
The OSX version is stored in /System/Library/CoreServices/SystemVersion.plist
We can temporary change the OSX version before installing de package.
Change OSX version 10.10 to 10.9:
`sudo sed -i '' 's/>10.10</>10.9</' /System/Library/CoreServices/SystemVersion.plist`
Install Java and don't forget to change your JAVA_HOME to /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk
Restore OSX version
`sudo sed -i '' 's/>10.9</>10.10</' /System/Library/CoreServices/SystemVersion.plist`
Problem
Today was the release of Oracle JDK8 U11. When I try to install the .pkg in OSX yosemite 10.10 I get this error and can't continue.