You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Java installation error

When trying to install Java on my brand-new MacBook Pro Retina, I get a "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance" error. This occurs for both the JRE and the JDK install. The install log documents the error as follows:


Jul 18 18:42:25 Andys-MacBook-Pro.local installd[298]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Java 7 Update 25.pkg”." UserInfo=0x7fbe70e29100 {NSFilePath=./postinstall, NSURL=file://localhost/Volumes/Java%207%20Update%2025/Java%207%20Update%2025.pk g#javaappletplugin.pkg, PKInstallPackageIdentifier=com.oracle.jre, NSLocalizedDescription=An error occurred while running scripts from the package “Java 7 Update 25.pkg”.} {

NSFilePath = "./postinstall";

NSLocalizedDescription = "An error occurred while running scripts from the package \U201cJava 7 Update 25.pkg\U201d.";

NSURL = "file://localhost/Volumes/Java%207%20Update%2025/Java%207%20Update%2025.pkg#jav aappletplugin.pkg";

PKInstallPackageIdentifier = "com.oracle.jre";

}

Jul 18 18:42:25 Andys-MacBook-Pro.local Installer[1101]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Java 7 Update 25.pkg”." UserInfo=0x7ff594ac4dc0 {NSFilePath=./postinstall, NSURL=file://localhost/Volumes/Java%207%20Update%2025/Java%207%20Update%2025.pk g#javaappletplugin.pkg, PKInstallPackageIdentifier=com.oracle.jre, NSLocalizedDescription=An error occurred while running scripts from the package “Java 7 Update 25.pkg”.}

Jul 18 18:42:26 Andys-MacBook-Pro.local Installer[1101]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Jul 18 18:42:26 Andys-MacBook-Pro.local Installer[1101]: IFDInstallController 94C6E6F0 state = 7

Jul 18 18:42:26 Andys-MacBook-Pro.local Installer[1101]: Displaying 'Install Failed' UI.

Jul 18 18:42:26 Andys-MacBook-Pro.local Installer[1101]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.


Any help would be greatly appreciated!

MacBook Pro with Retina display, OS X Mountain Lion (10.8.4)

Posted on Jul 19, 2013 8:53 PM

Reply
5 replies

Jul 20, 2013 9:56 AM in response to andy_az

The .dmg format is a volume image commonly used for distributing Mac software. A Mac-only .zip workalike, if you will. As such, it requires NO extra software to use. Simply double-click on a .dmg and it will be mounted like if you had inserted a CD or a diskette in other systems. However, in a default Mountain Lion installation, that may not be apparent if you have not set Finder preferences to show disks/DVDs/etc. on the desktop and/or the Finder window sidebar.


Once you have accessed the jre-7u25-macosx-x64.dmg install media by double clicking it, inside you will find the Java installer that you have to run in order to get Java installed or updated in your Mac:


User uploaded file


Note that installing this product requires authentication with an Admin-enabled user. If your system has permissions problems, you may get various errors: run Disk Utility and do a Repair Disk Permissions on the Macintosh HD startup volume first to correct.

Jul 19, 2013 9:32 PM in response to andy_az

"Someone on the Ars Technica forums realized what was wrong. I will bet quite a bit of money that you used The Unarchiver to unzip the file that contained the

.mpkg
file. Apparently, something about the way it unzips introduced some sort of corruption. If you go back, and instead of using The Unarchiver, use Apple's own Archive Utility, then try the installation using that newly unzipped
.mpkg
, it should work. It worked fine for me."


Same exact log messages, diff software:


http://tex.stackexchange.com/questions/51526/why-cant-i-install-mactex-or-basict ex-on-my-mac

Jul 20, 2013 9:26 AM in response to nbar

Thanks nbar. The install files come from Oracle in the .dmg format. They are jdk-7u25-macosx-x64.dmg and jre-7u25-macosx-x64.dmg. As far as I know, I don't have any 3rd party unarchive utilities installed, but how would I check? Also, have another MacBookPro (older non-retina from which I switching to this one) with exactly the same OSX version and didn't have any problems installing it there.

Java installation error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.