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.

Bug 116313 - 6.0 Beta1/Mac-intel won't start
Summary: 6.0 Beta1/Mac-intel won't start
Status: VERIFIED DUPLICATE of bug 116061
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 13:55 UTC by Antonin Nebuzelsky
Modified: 2008-12-22 10:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2007-09-21 13:55:46 UTC
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.
Comment 1 Jaromir Uhrik 2007-09-21 17:54:14 UTC
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.
-------------------------------------%<----------------------------------------
Comment 2 ievans 2007-09-21 20:00:46 UTC
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.
Comment 3 Jaromir Uhrik 2007-09-24 08:01:04 UTC
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.
Comment 4 Antonin Nebuzelsky 2007-09-26 10:13:43 UTC

*** This issue has been marked as a duplicate of 116061 ***
Comment 5 Jaromir Uhrik 2007-11-08 08:56:44 UTC
Verified.