开发者

How to export an applet together with the referenced libraries

开发者 https://www.devze.com 2023-03-10 12:31 出处:网络
I wan开发者_开发百科t a standalone java applet, but I\'m unable to export it together with the used libraries, as there is no main method I cannot export a Runnable JAR, so I\'m left with Export JAR.

I wan开发者_开发百科t a standalone java applet, but I'm unable to export it together with the used libraries, as there is no main method I cannot export a Runnable JAR, so I'm left with Export JAR. Forgot to mention I'm using ECLIPSE.


The Fat jar eclipse plugin can do that: get it here .

However the export runnable jar functionnality might work, it only shows up a warning about the lack of main but since you specify it in the html it should be ok. Moreover a jar generated by fat jar or the runnable export have the exact same architecture of files (in fact the runnable export IS fat jar) so it may be worth a try.

0

精彩评论

暂无评论...
验证码 换一张
取 消