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: Universal JavaApplicationStub - Jar Bundler doesn't give it to me.



So it sounds like the right thing to do for my app is to do the trick
Greg suggested:

The app binary (CFBundleExecutable) is actually an executable bash
script that renames itself, then copies into its place a copy of
/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub,
then exec's that copy of JavaApplicationStub.

That way you always get a JavaApplicationStub that's compatible with
the user's machine.

Bill

 _______________________________________________
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: Universal JavaApplicationStub - Jar Bundler doesn't give it to me. (From: Michael McDougall <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.