okay, i have almost created my program, with lots of packages also from third parties(jogl, jface, swt ), right now i want to find an elegant way to somehow automate this whole process. so all dependant packages and libraries( including dll will ) fit in a single jar file. Is this even possible? And after that if it works, use a exe wrapper or so.
Is this even possible?
Yes. Its a matter of extracting everything (overwrite on - for those manifests) and repacking it again together with the correct manifest.
And after that if it works, use a exe wrapper or so.
This step isnt necessary with molebox.
Generally it doesnt make much sense to repack that stuff. Say you’re using webstart… then its better to have it split up into different bits. If you change one of those files, the client will only download that one… so you can save a lot of traffic here.
There are tools that will do this repackign for you.
I believe I remember a setting in either Eclispe or JBuilder to do that.
Agin though, if you repack keep in mind that you are freezing the version of those external files. That may be what you want. OTOH if those provider release future bug fixes you might want your users to be able to upgrade.