Error trying to install JDK8 U11 OSX 10.10 Yosemite

Today, Oracle JDK8 U11 was released.

When I try to install .pkg on OSX yosemite 10.10, I get this error and cannot continue.

problem

+4
source share
2 answers

The OSX version is stored in /System/Library/CoreServices/SystemVersion.plist

enter image description here

We can temporarily change the OSX version before installing the 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 JAVA_HOME in / Library / Java / JavaVirtualMachines / jdk 1.8.0_11.jdk

  • Restore OSX Version

    sudo sed -i '' 's/>10.9</>10.10</' /System/Library/CoreServices/SystemVersion.plist

+18
source
+1

Source: https://habr.com/ru/post/1548673/


All Articles