HOW TO INSTALL JDK 7 ON YOSEMITE(10.10)(バージョンチェックスキップ)

1850 ワード

HOW TO INSTALL JDK 7 ON YOSEMITE (10.10)
Posted 
Tuesday, 03 Jun by Gabriel Rinaldi
 
yosemitejava10.10macbeta
 
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 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"
The installer should skip the OS version check and you should be able to install without any problems.
 
FROM:http://gabrielrinaldi.me/how-to-install-jdk-7-on-yosemite-10-10/