This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Quoting a message from a mailing list: Ok, according to console.log, this is the problem: /Applications/NetBeans/NetBeans 6.0 Beta 1.app/Contents/MacOS/netbeans: line 1: sysctl: command not found expr: syntax error /Applications/NetBeans/NetBeans 6.0 Beta 1.app/Contents/MacOS/netbeans: line 115: [: -gt: unary operator expected /Applications/NetBeans/NetBeans 6.0 Beta 1.app/Contents/MacOS/netbeans: line 117: [: -lt: unary operator expected Invalid maximum heap size: -Xmxm Could not create the Java virtual machine. sysctl is in /usr/sbin/sysctl. This is a clean install of NetBeans (ie I removed all previous versions, and removed everything under ~/.netbeans.
I cannot reproduce this issue on the following configuration: Product Version: NetBeans IDE Dev (Build 200709200000) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Userdir: /Users/jaromiruhrik/.netbeans/dev There is one more comment from the same person at the same mailing list: -------------------------------------%<---------------------------------------- A reboot cured the problem. (Coming from a FreeBSD/Linux environment and mind set, I'm not in the habit of rebooting as a cure to such problems, or I would've done so before posting my question. My bad. Sorry.) As for Apple's Java 6, I know it's a pre-release with some breakage, but it's actually been working fine for me running NB 6 M10 for some time. It also seems marginally faster than Java 5, though I'll admit to the potential subjectivity of that judgment, as I haven't actually bothered to take any hard measurements. Thanks for the quick response. Sorry for the false alarm. -------------------------------------%<----------------------------------------
I'm the one who originally reported this issue to the mailing list (but am not jaromiruhrik). Here's my environment: Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709141330) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Userdir: /Users/ian/.netbeans/6.0beta1 In my original message, I said this: "It'll start by entering: $ open NetBeans\ 6.0\ Beta\ 1.app or $ /Applications/NetBeans/NetBeans\ 6.0\ Beta\ 1.app/Contents/Resources/NetBeans/bin/netbeans But double-clicking NetBeans 6.0 Beta 1.app in the Finder doesn't work." So, /usr/sbin isn't in the $PATH when you double-click on icon in the Finder, as far as I can tell. At least for my system.
I apologize fro the previous comment. I have mixed this issue with other - caused probably since I was tired on Friday evening;-). Please ignore my previous comment. Sorry again.
*** This issue has been marked as a duplicate of 116061 ***
Verified.