开发者

Install Java withmy app

I wrote some app and I need to in开发者_StackOverflowstall this app simultaneously with JRE on the client computer. I mean I need to make installation package with Java and my app. How can I do this?


Have a look at izPack: http://izpack.org/downloads/

The native launcher will do what you need.

The download page has information on Launch4J which is also a very good option.

This question has been covered before though. This question gives a great overview: What's the best way to distribute java applications


There a few methods that you an do it. First of all you can deploy jre using silent installation. Please read the following article:

http://download.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/silent.html

The second option is to install MSI package using few tools, for example http://dennisbareis.com/makemsi.htm

and then to deploy it using group policy or what ever.


You may want to make the installation program available as a Java applet. This moves the problem of installing Java to the browser, and will make your logic much simpler.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜