为Java程序创建Windows Installer [英] Create Windows Installer for Java Programs

查看:90
本文介绍了为Java程序创建Windows Installer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个Java初学者。

I'm a Java beginner.

我已经创建了一个简单的GUI应用程序,显示hello world标签。

I already created a simple GUI application that display will "hello world" label.

但是,如何从.java或.jar为Windows创建一个安装程序。
假设我已经创建了一个有用的应用程序,并希望与我的朋友
分享它,以安装在他们的电脑,而不需要知道什么是JRE,或如何下载JRE。

But, how can I create an installer from .java or .jar for windows. Let's say that I have created a useful application and want to share it with my friends to install it in their PC without they need to know what is JRE, or how to download JRE.

推荐答案

部署应用程序。来自使用 Java Web Start 的网站。确保用户使用 deployJava.js (从JWS信息页面链接)使用最少的Java。

Deploy the app. from a web site using Java Web Start. Ensure the user has the minimum Java using deployJava.js (linked from the JWS info page).

这篇关于为Java程序创建Windows Installer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆