1
我已经在Mac OSX 10.5.8上成功安装Netbeans 6.0.1,但是当我尝试启动它时,它并没有在系统中记录这些日志条目。日志:Netbeans在MacOSX上无法启动(命令未找到)
Apr 7 19:35:09 henrique-ordines-macbook [0x0-0x9c09c].NetBeans 6.0.1[53785]: /Applications/NetBeans/NetBeans 6.0.1.app/Contents/MacOS/netbeans: line 48: ls: command not found
Apr 7 19:35:09 henrique-ordines-macbook [0x0-0x9c09c].NetBeans 6.0.1[53785]: /Applications/NetBeans/NetBeans 6.0.1.app/Contents/MacOS/netbeans: line 53: dirname: command not found
Apr 7 19:35:09 henrique-ordines-macbook [0x0-0x9c09c].NetBeans 6.0.1[53785]: /Applications/NetBeans/NetBeans 6.0.1.app/Contents/MacOS/netbeans: line 57: dirname: command not found
Apr 7 19:35:09 henrique-ordines-macbook [0x0-0x9c09c].NetBeans 6.0.1[53785]: Cannot read cluster file: /../etc/netbeans.clusters
Apr 7 19:35:09 henrique-ordines-macbook com.apple.launchd[65] ([0x0-0x9c09c].NetBeans 6.0.1[53785]): Exited with exit code: 1
我用磁盘工具修复权限,建议on this thread,但我仍然得到同样的错误。
如果我以root用户身份登录,我可以毫无问题地启动它。
我该如何解决这个问题?