Mailing Lists: Apple Mailing Lists

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

weird problem w/ Runtime.exec and application bundle (10.5)



I have a java application which works fine with tiger, but doesn't
work well with leopard.
I'm trying to open the default webbrowser using:
Runtime.getRuntime().exec("open http://www.google.de";);
with leopard the safari dock icon just bounces one time then stops and
safari does not open.
Console says:
Safari[2334] No Info.plist file in application bundle or no
NSPrincipalClass in the Info.plist file, exiting
com.apple.launchd[101] ([0x0-0x10b10b].com.apple.Safari[2334]) Exited
with exit code: 1

the important thing: my java application is wrapped by a standard .app
bundle. If I start the jar file manually everything works fine, as it
did with tiger.

I have no idea what's going on there?

thanks
 _______________________________________________
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



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.