Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on NetBeans failure to start



I have the same problem. Here's the result of my "ls -la":

total 8
drwxr-xr-x  3 root  admin  102 Sep  3 10:22 .
drwxr-xr-x  5 root  admin  170 May 29 21:08 ..
lrwxr-xr-x  1 root  502     34 Sep  3 10:22 netbeans ->
../Resources/NetBeans/bin/netbeans

Also, the Info.plist is OK.


Actually, I think the issue may be more subtle than you suggest. See

    http://www.netbeans.org/issues/show_bug.cgi?id=146119

for details but, to summarize:
- Several people are running into the NetBeans launch problem.

- Some can launch successfully from the terminal. For example, I can't do a
Finder launch of NetBeans but can launch it from the terminal with the
command:
    open "/Applications/NetBeans/NetBeans 6.1.app"

Some are less lucky.

- A similar problem occurs for me with IntelliJ IDEA, except that it
manifests during attempts to compile/rebuild projects rather than as a
launch failure (see the NetBeans bug report for details).

- There's also a thread in the Apple forums about Java app problems that
seems to be related (again, bug report for details).


The problem is not widespread but it is not unique either. It also does not
seem to be restricted entirely to NetBeans. It may well be that mine and
others Java installation has been hosed in some way but, so far, neither
NetBeans, nor JetBrains (IDEA) nor Apple has had much luck figuring out
what's happened. Certainly I did nothing explicit to muck it up. The problem
first occurred for me between two "normal" compiles within IDEA. That's when
I tried downloading NetBeans and saw the Finder launch problem. I suspect
that the IDEA and NetBeans problems are related because:
    - They generate similar crash logs
    - They generate the same error code (139)

I did file a bug report with Apple that was recently closed as unable to
duplicate (I have since sent them a little additional info .. we'll see what
happens next).

Thus it stands ... so far.

Regards,
    Gary Nunes



Tim Boudreau wrote (9/25/08 12:19 PM):

> On Sep 25, 2008, at 12:24 PM, James Rome wrote:
> 
>> The latest Java updates do not solve my problem launching NetBeans by
>> double clicking the .app file. But if I click the bin.netbeans file
>> within the app (its a shell script), a shell opens, and NetBeans
>> starts
>> properly.
>> 
>> It thus appears to me that the problem is in creating the .app file
>> from
>> its pieces. What could that be?
>> 
>> Is there a way to be able to put a shell script onto the system tray
>> so
>> that I can launch NB easily?
> 
> This sounds like something is corrupted in your copy of NetBeans.
> What version?
> 
> In a shell, if you cd /Applications/NetBeans.app/Contents/MacOS and
> run 'ls -la' does the output look like this?
> 
> Tim:MacOS tim$ ls -la
> total 8
> drwxr-xr-x  2 root  admin  102 May 22 22:58 .
> drwxr-xr-x  4 root  admin  170 Apr 22 05:57 ..
> lrwxr-xr-x  1 root  502     34 May 22 22:58 netbeans -> ../Resources/
> NetBeans/bin/netbeans
> 
> Maybe take a look also at NetBeans.app/Contents/Info.plist and make
> sure it's intact and contains
>      <key>CFBundleExecutable</key>
>      <string>netbeans</string>
> 
> ...or just download a fresh copy...this definitely does work
> ordinarily.  If you open Console, is there anything logged when you
> double click the .app?
> 
> -Tim
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Java-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/java-dev/email@hidden
> 
> This email sent to email@hidden
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: More on NetBeans failure to start (From: Tim Boudreau <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.