How to install JDK 7 on Yosemite (10.10)
To install it follow these steps:
- 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 returntrue
- Run
pkgutil --flatten "/tmp/JDK 7 Update 60.unpkg" "/tmp/JDK 7 Update 60.pkg"
Garrick van Buren
You don’t need a new tool. You need to commit to getting more out of the ones you have.
…- Garrick van Buren Read more