am 18.01.2006 9:07 Uhr schrieb Thomas Much unter email@hidden:
> It should be possible to create an app that contains no stub at all if you
> point CFBundleExecutable in its Info.plist to the System's Java stub
Hm... I'm pretty sure this worked some time ago, but it does not any more
(maybe 10.4.x uses different launch code for application bundles).
Anyhow, here's a solution. Leave your plist entry as follows:
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
Remove the stub from Contents/MacOS/ and replace it with a symlink (not a
Finder alias) to the system's stub:
ln -s
/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaA
pplicationStub PathToYour.app/Contents/MacOS/JavaApplicationStub
I'm not sure if archived symlinks are portable all the way down to 10.0, but
at least 10.3 and 10.4 are able to use them even across different systems.
Of course, this solution will break (like the copy scripts) if Apples
changes the framework structure.
bye, Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden