Mac mini Java Installation Error

Discussion in 'Mac mini' started by Dekema2, Dec 29, 2013.

  1. Dekema2 macrumors 6502a

    Dekema2

    Joined:
    Jul 27, 2012
    Location:
    WNY or Utica
    #1
    Hello,

    I have recently been trying to upgrade Java from 1.6 to 1.7, and when I do I get this error message (attached)

    Here is the log of the error:

    Code:
    Dec 29 19:32:26 dwaynemrshsmini.home Installer[397]: JDK 7 Update 45  Installation Log
    Dec 29 19:32:26 dwaynemrshsmini.home Installer[397]: Opened from: /Volumes/JDK 7 Update 45/JDK 7 Update 45.pkg
    Dec 29 19:32:27 dwaynemrshsmini.home Installer[397]: Product archive /Volumes/JDK 7 Update 45/JDK 7 Update 45.pkg trustLevel=202
    Dec 29 19:32:39 dwaynemrshsmini.home Installer[397]: LSExceptions [0x7fcb79c2c700] unloaded
    Dec 29 19:34:21 dwaynemrshsmini.home Installer[397]: InstallerStatusNotifications plugin loaded
    Dec 29 19:34:30 dwaynemrshsmini.home runner[433]: Administrator authorization granted.
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: ================================================================================
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: User picked Standard Install
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: Choices selected for installation:
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: 	Install: "JDK 7 Update 45"
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: 	Install: "JDK_VERSION"
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: 		JDK 7 Update 45.pkg#jdk17045.pkg : com.oracle.jdk7u45 : 1.1
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: 	Install: "plugin"
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: 		JDK 7 Update 45.pkg#javaappletplugin.pkg : com.oracle.jre : 1.1
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: ================================================================================
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: It took 0.00 seconds to summarize the package selections.
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#jdk17045.pkg
    Dec 29 19:34:30 dwaynemrshsmini.home Installer[397]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Set authorization level to root for session
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Will use PK session
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Starting installation:
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Configuring volume "Dwayne Marsh HD"
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Preparing disk for local booted install.
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Free space on "Dwayne Marsh HD": 133.62 GB (133617164288 bytes).
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Create temporary directory "/var/folders/4m/zprpvc0x6qv1h1bk_tkkcnww0000gn/T//Install.397qUgjr3"
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: IFPKInstallElement (2 packages)
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: Using authorization level of root for IFPKInstallElement
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: installd: Starting
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: installd: uid=0, euid=0
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: PackageKit: Adding client PKInstallDaemonClient pid=397, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
    Dec 29 19:34:31 dwaynemrshsmini.home Installer[397]: PackageKit: Enqueuing install with boosting
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: PackageKit: ----- Begin install -----
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: PackageKit: request=PKInstallRequest <2 packages, destination=/>
    Dec 29 19:34:31 dwaynemrshsmini.home installd[439]: PackageKit: packages=(
    	    "PKLeopardPackage <file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#jdk17045.pkg>",
    	    "PKLeopardPackage <file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg>"
    	)
    Dec 29 19:34:38 dwaynemrshsmini.home installd[439]: PackageKit: Extracting file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#jdk17045.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A3844C81-781A-4D9C-ACFB-694407F902AB.activeSandbox/Root/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk, uid=0)
    Dec 29 19:34:48 dwaynemrshsmini.home installd[439]: PackageKit: Extracting file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A3844C81-781A-4D9C-ACFB-694407F902AB.activeSandbox/Root/Library/Internet Plug-Ins/JavaAppletPlugin.plugin, uid=0)
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: prevent user idle system sleep
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: suspending backupd
    Dec 29 19:34:52 dwaynemrshsmini.home install_monitor[441]: Temporarily excluding: /Applications, /Developer, /Library, /System, /bin, /private, /sbin, /usr
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: component Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/.Contents/Home/lib/missioncontrol/Java Mission Control.app missing or previously relocated
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: component Library/Internet Plug-Ins/JavaAppletPlugin.plugin/.Contents/Resources/Java Updater.app missing or previously relocated
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.SLTXbh/Scripts/com.oracle.jdk7u45.bq5NZu
    Dec 29 19:34:52 dwaynemrshsmini.home installd[439]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.SLTXbh/Scripts/com.oracle.jre.BZGDcs
    Dec 29 19:34:53 dwaynemrshsmini.home installd[439]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/A3844C81-781A-4D9C-ACFB-694407F902AB.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A3844C81-781A-4D9C-ACFB-694407F902AB.activeSandbox
    Dec 29 19:34:53 dwaynemrshsmini.home installd[439]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/A3844C81-781A-4D9C-ACFB-694407F902AB.activeSandbox/Root (1 items) to /
    Dec 29 19:34:55 dwaynemrshsmini.home installd[439]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.SLTXbh/Scripts/com.oracle.jdk7u45.bq5NZu
    Dec 29 19:34:55 dwaynemrshsmini.home installd[439]: ./postinstall: 2013-12-29 19:34:55.728 Tools[453:507] FSRef received correctly
    Dec 29 19:34:55 dwaynemrshsmini.home installd[439]: ./postinstall: 2013-12-29 19:34:55.787 Tools[453:507] JMC registered successfully for JFR file associations
    Dec 29 19:34:55 dwaynemrshsmini.home installd[439]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.SLTXbh/Scripts/com.oracle.jre.BZGDcs
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: ./postinstall: launchctl: Dubious ownership on file (skipping): /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: ./postinstall: nothing found to load
    Dec 29 19:34:56 dwaynemrshsmini.home install_monitor[441]: Re-included: /Applications, /Developer, /Library, /System, /bin, /private, /sbin, /usr
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: releasing backupd
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: allow user idle system sleep
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “JDK 7 Update 45.pkg”." UserInfo=0x7fd678c162e0 {NSFilePath=./postinstall, NSURL=file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg, PKInstallPackageIdentifier=com.oracle.jre, NSLocalizedDescription=An error occurred while running scripts from the package “JDK 7 Update 45.pkg”.} {
    	    NSFilePath = "./postinstall";
    	    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cJDK 7 Update 45.pkg\U201d.";
    	    NSURL = "file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg";
    	    PKInstallPackageIdentifier = "com.oracle.jre";
    	}
    Dec 29 19:34:56 dwaynemrshsmini.home Installer[397]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “JDK 7 Update 45.pkg”." UserInfo=0x7fcb7b09e7b0 {NSFilePath=./postinstall, NSURL=file://localhost/Volumes/JDK%207%20Update%2045/JDK%207%20Update%2045.pkg#javaappletplugin.pkg, PKInstallPackageIdentifier=com.oracle.jre, NSLocalizedDescription=An error occurred while running scripts from the package “JDK 7 Update 45.pkg”.}
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: Running idle tasks
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: Removing client PKInstallDaemonClient pid=397, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
    Dec 29 19:34:56 dwaynemrshsmini.home installd[439]: PackageKit: Done with sandbox removals
    Dec 29 19:34:57 dwaynemrshsmini.home installd[439]: PackageKit: Sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/C5ADA69A-9FB4-4CE0-8FFE-01FEAA4DB1BE.sandbox: relevance 63
    Dec 29 19:34:57 dwaynemrshsmini.home Installer[397]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    Dec 29 19:34:57 dwaynemrshsmini.home Installer[397]: IFDInstallController 79D43C40 state = 8
    Dec 29 19:34:57 dwaynemrshsmini.home Installer[397]: Displaying 'Install Failed' UI.
    Dec 29 19:34:57 dwaynemrshsmini.home Installer[397]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
    I really need it installed and don't know what to do. Thanks in advance for help.
     

    Attached Files:

  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    /Library/LaunchAgents/com.oracle.java.Java-Updater.plist

    Just an idea from looking over the log. It looks like it got hung up on this file. Try deleting that file. Then also command-r boot to recovery and from there run Disk Utiility and repair permissions and also run a repair disk. Then reboot and try the install again.
     
  3. Dekema2 thread starter macrumors 6502a

    Dekema2

    Joined:
    Jul 27, 2012
    Location:
    WNY or Utica
    #3
    This is a bit of a late reply but I tried this and it didn't work.
     
  4. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #4
    Does it fail with update 51 which is the current Java?
     
  5. Dekema2 thread starter macrumors 6502a

    Dekema2

    Joined:
    Jul 27, 2012
    Location:
    WNY or Utica
    #5
    I found the issue, I already had it installed because I could use Eclipse fine.
     

Share This Page