On 2006 May 29 , at 22.22, Fabrizio Giudici wrote:
Does jarbundler make use of native code? I mean, is it able to run
on a non-mac host?
As I mentioned, it should work on a non-Mac platform if you have a
copy of the Java launcher application, which you can find at /System/
Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/
JavaApplicationStub on a recent OS X box.
...according to the docs. I haven't had the need to try that myself,
though.
BTW, it would be neat to have my server to generate .dmg too, but
I'm not aware of any hdiutil compatible tool that runs on Linux.
Any hint?
I'm not aware of any.
You could try just zipping up the generated .app directory, and using
the resulting .zip file as the distribution. I think that the
JavaApplicationStub file is a data-only file (it must be, if the
technique above does work), so there shouldn't be any resource-fork
issues (presuming that there are no resource-fork files in the
resources of your Java application, which is presumably the case if
you're anticipating it being cross-platform), and the unzipped .app
directory should just work!
It's not as swish as a .dmg file, but it won't look too weird.
All the best,
Norman
--
------------------------------------------------------------------------
----
Norman Gray / http://nxg.me.uk
eurovotech.org / University of Leicester, UK
_______________________________________________
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