I'v installed NetBeans 6.8 on my MacOS X MacBook and the logs say it cannot be run, any ideas?
- by codezealot
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 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 PM [0x0-0x22022].org.netbeans.ide.baseide.200912041610[22168] Cannot read cluster file: /../etc/netbeans.clusters
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
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
-- from http://wiki.netbeans.org/JDKVersionAndMacOS
When I attempt the command line above, I receive "netbeans command not found".
So do I ...
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?
It gets even more interesting, the above happens with Eclipse as well. Yippie.