我已经在MacOS X MacBook上安装了NetBeans 6.8,日志显示无法运行,有什么想法吗? [英] I'v installed NetBeans 6.8 on my MacOS X MacBook and the logs say it cannot be run, any ideas?

查看:120
本文介绍了我已经在MacOS X MacBook上安装了NetBeans 6.8,日志显示无法运行,有什么想法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在MacBook上安装了NetBeans 6.8,安装结果表明成功.但是,每当我尝试运行该应用程序时,都会关闭.我监视了该过程,并注意到控制台中的以下条目暗示找不到该应用程序?

I've installed NetBeans 6.8 on my MacBook, and the installation results indicated success. However, every single time I attempt to run the application is shuts down. I monitored the process and noticed the following entries in the console that imply the application cannot be found?

3/19/10下午10:20:20 [0x0-0x22022] .org.netbeans.ide.baseide.200912041610 [22168]/Applications/NetBeans/NetBeans 6.8.app/Contents/MacOS/netbeans:第57行:dirname:找不到命令

3/19/10 10:20:20 PM [0x0-0x22022].org.netbeans.ide.baseide.200912041610[22168] /Applications/NetBeans/NetBeans 6.8.app/Contents/MacOS/netbeans: line 57: dirname: command not found

3/19/10下午10:20:20 [0x0-0x22022] .org.netbeans.ide.baseide.200912041610 [22168]无法读取群集文件:/../etc/netbeans.clusters

3/19/10 10:20:20 PM [0x0-0x22022].org.netbeans.ide.baseide.200912041610[22168] Cannot read cluster file: /../etc/netbeans.clusters

3/19/10下午10:20:20 com.apple.launchd.peruser.501 [77]([0x0-0x22022] .org.netbeans.ide.baseide.200912041610 [22168])退出时退出代码:1

3/19/10 10:20:20 PM com.apple.launchd.peruser.501[77] ([0x0-0x22022].org.netbeans.ide.baseide.200912041610[22168]) Exited with exit code: 1

我开始研究如何设置NetBeans使用的默认JDK,并发现重复使用以下命令行条目;

I started researching how to set the default JDK for use by NetBeans, and found repeated use of the following command line entry;

netbeans --jdkhome/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

netbeans --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

-来自 http://wiki.netbeans.org/JDKVersionAndMacOS

当我尝试上面的命令行时,我收到找不到netbeans命令".

When I attempt the command line above, I receive "netbeans command not found".

我也...

1.)是否需要创建一个名为"netbeans"的命令,该命令指向我的NetBeans 6.8安装位置?如果可以,该怎么办?
2.)我如何进入NetBeans 6.8的netbeans.conf文件,它甚至不存在吗?

1.) Need to create a command called "netbeans" that points to my install location for NetBeans 6.8? If so how do I do that?
2.) How do I get to the netbeans.conf file for NetBeans 6.8, does one even exist for it?

它变得更加有趣,以上情况也发生在Eclipse中.是的.

It gets even more interesting, the above happens with Eclipse as well. Yippie.

推荐答案

由于Eclipse也存在相同的问题,因此该问题可能并非特定于NetBeans.首先,我将使用磁盘工具"来修复硬盘驱动器的权限,然后重新安装这些应用程序.

Since you have the same problem with Eclipse as well, the problem is probably not specific to NetBeans. I would start by using Disk Utility to repair your hard drive's permissions, then reinstalling those applications.

这篇关于我已经在MacOS X MacBook上安装了NetBeans 6.8,日志显示无法运行,有什么想法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆