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: Application does not start



on 02-11-28 7:00, Dan Caprioara <email@hidden> wrote:

>> Do any error messages appear in the Console log? What happens if you run your
>> program from the Terminal?
> It runs fine from terminal. No messages in the console log..

I think he meant whether something pops up in the Console window when you
launch your app by double-clicking its icon in the Finder.

I had a case recently where I could launch the .jar file (buried deep within
the .app bundle/folder) from the Terminal command line, but it still
wouldn't launch from the Finder. It turned out that the .app had been
travelling in an oldish StuffIt archive (version 4). If I used a newer
StuffIt version to compress the .app, it worked OK after unpacking. My guess
is that there may be flags associated with some of the files that didn't get
restored properly, although the folder structure and files' content were all
intact.

Perhaps someone else in the know can shed some light on this. Here's the
error message I got in Console when I attempted to launch my app from the
Finder:

Nov 25 11:33:09 BAD WindowServer[419]: ERROR!
execle(/WATCHOUT_141_Mac/DatatonWATCHOUT.app/
Contents/MacOS/JavaApplicationStub) returned, err=22

It seems that the JavaApplicationStub is the offender (although the
*content* of that file was intact, as I said above). In my case, the app
icon appeared only briefly in the Dock, and then disappeared without any
further ado. Seems you get a bit farther than that, though.

Mike
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



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.