• Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Installing A Java JDK On Beta Versions Of OS X

    Open the installation DMG and expand the package so we can edit objects inside the package, done with pkgutil: pkgutil —expand “/Volumes/JDK 7 Update 67/JDK 7 Update 67.pkg” “/tmp/JDKTEMP.flat” Next, we’re going to edit that Distribution file, which is what’s checking the OS version, using vi: vi /tmp/JDKTEMP.flat/Dstribution Then we’re going to look for the OS version (currently 10.7) in the pm_install section: Edit OS version to 10.10 Then let’s save the file and then flatten the package, again using pkgutil: pkgutil —flatten “/tmp/JDKNEW.flat” “/tmp/JDK7.pkg” Finally fire up the package: open /tmp/JDK7.pkg And of course, finish running the installer. Good luck!