Created
August 25, 2014 00:26
-
-
Save codingneo/9ae6a0b1807c390dd603 to your computer and use it in GitHub Desktop.
Install JDK 7 on Mac OS X Yosemite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download JDK 7 | |
Open the DMG | |
Run pkgutil --expand "/Volumes/JDK 7 Update 60/JDK 7 Update 60.pkg" "/tmp/JDK 7 Update 60.unpkg" | |
Go to /tmp/JDK 7 Update 60.unpkg | |
Open the Distribution file in your favorite editor (I recommend (Sublime Text)[http://www.sublimetext.com]) | |
Change the function pm_install_check() to always return true | |
Run pkgutil --flatten "/tmp/JDK 7 Update 60.unpkg" "/tmp/JDK 7 Update 60.pkg" | |
Run open "/tmp/JDK 7 Update 60.pkg" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment