我正在尝试在 Mac OS X 10.8.4 上安装 NetBeans 6.5.1,但是它一直出现此错误:
该图像不是我的,但存在同样的错误。
我目前所做的:
- 通过 developer.apple.com 安装 java 开发包。
这是我从 java -version 得到的输出:
-$java-版本
-Java 版本“1.6.0_65”
- Java(TM) SE 运行时环境(版本 1.6.0_65-b14-462-11M4609)
- Java HotSpot(TM) 64 位服务器 VM(版本 20.65-b04-462,混合模式)
将 NetBeans .dmg 文件 chown 给用户:admin
确认 .dmg 文件的 md5 校验和
创建环境变量
$JAVA_HOME
并给出以下输出:
-$回显$JAVA_HOME
- /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home
现在我的/var/log/安装.log引用错误的文件:
Feb 16 16:07:42 MacBook-Pro-de-david.local installd[4526]: PackageKit: allow user idle system sleep
Feb 16 16:07:42 MacBook-Pro-de-david.local installd[4526]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the $
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cbaseide.pkg\U201d.";
NSURL = "file://localhost/Volumes/NetBeans%206.5.1/NetBeans%206.5.1.mpkg/Contents/Packages/baseide.pkg";
PKInstallPackageIdentifier = "org.netbeans.ide";
}
Feb 16 16:07:42 MacBook-Pro-de-david.local Installer[4514]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the pa$
Feb 16 16:07:42 MacBook-Pro-de-david.local Installer[4514]: Install failed: Ocorreu um erro desconhecido no Instalador, que impediu a instalação. Caso necessite de assistência, con$
Feb 16 16:07:42 MacBook-Pro-de-david.local Installer[4514]: IFDInstallController E2C36220 state = 7
Feb 16 16:07:42 MacBook-Pro-de-david.local Installer[4514]: Displaying 'Install Failed' UI.
Feb 16 16:07:42 MacBook-Pro-de-david.local Installer[4514]: 'Install Failed' UI displayed message:'Ocorreu um erro desconhecido no Instalador, que impediu a instalação. Caso necess$
有人知道如何解决这个问题吗?感谢大家的阅读,如果你能帮忙,我将不胜感激