本文介绍了我已经在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]无法读取群集文件:/../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;

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

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

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

我也...

它变得更加有趣,以上情况也发生在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,日志显示无法运行,有什么想法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 04:43