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 some Mac OS X 10.2 systems)



Dan Caprioara wrote:
|I have an editor written in Java packed as an .app. The application runs
|fine on Mac OS X 10.1.
|
|On some Mac OS X 10.2 systems, the application just displays the dock
|icon and the system menu and nothing else. The user can only quit. This
|situation is persistent: there are systems that always allow the editor
|to run, and others that do not.
|
|I verified two installations, one working, the other not working, and
|there were no differences in files or permissions.
|
|Other aspect. I have inserted a debug section creating a file in the
|user home in the very begining of the program. The file was never
|created. I also tried to connect via a socket to a logging server, but
|with no success. I think the main class is not executed.

By "very beginning", do you mean "the very first statement of main()", or "the very first statement in a static initialization block in the class definining main()". Things happen before main() is executed; if one of those things chokes, you could well see what you're seeing.

Have you tried just writing to System.out?

Do any error messages appear in the Console log? What happens if you run your program from the Terminal?

What differences are there between the 10.2 systems the program runs on and the ones it doesn't? (There must be *something* different, especially as the difference is behavior is persistent.) Are they actually all 10.2, or are some 10.2.1?

Glen Fisher
_______________________________________________
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.

References: 
 >How to handle .command launch directory? (From: Scott Ellsworth <email@hidden>)
 >Application does not start (on some Mac OS X 10.2 systems) (From: Dan Caprioara <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.