By: Derek Berube, Wildstar Technologies, LLC.
Last Update: August 21, 2014
When attempting to install Java 7 on a Macintosh computer running Mac OS X Yosemite, you may encounter the following error message:
The following is a screen shot of the message as displayed by the installer.
This particular issue has been assigned defect JDK-8046004 and affects releases of the Java 7 Update 67 SDK and earlier. This is also a problem documented in defect JDK-8027686 with the releases of the Java 8 SDK before Update 20.
At present, there is no version of the Java 7 SDK that addresses this problem; however, the fix has been incorporated into the forthcoming Update 71. The fix has been included in Update 20 or later of the Java 8 SDK.
The work-around described below will allow you to trick the installer into thinking you are running Mac OS X Mavericks by modifying the SystemVersion.plist configuration file located in the /System/Library/CoreServices folder. After you complete the installation, you will restore the SystemVersion.plist configuration file to its original state.
Information from the following sources was used in the course of composing this article.