在线提供Java程序供所有人使用 [英] Making a Java program available online for all to use

查看:98
本文介绍了在线提供Java程序供所有人使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚用Java编写了一个程序。我很好奇,如果我可以让程序在线下载,以便我的朋友和家人可以利用它。不知道哪里开始。

I have just written a program in Java. I am curious if I can make the program downloadable online so that my friends and family can take advantage of it. No clue where to even begin.

我希望它能在本地运行。我只需双击.class文件就可以在我的计算机上本地运行程序,我也可以创建.class文件的快捷方式并直接从我的桌面运行它。有没有办法将.java文件与.class文件(有4个.class文件)一起压缩,然后通过电子邮件发送给我想要使用的文件?我试图将带有zip文件的电子邮件发送到家中的另一台计算机,但.class文件不会在另一台计算机上运行该程序...是否有另一种方法可以实现这一点?

I would like it to run locally. I am able to run the program locally on my computer by simply double clicking the .class file, I also can create a shortcut to the .class file and run it directly from my desktop. Is there a way to zip the .java file along with the .class files (there are 4 .class files) and email that to those that I wish to use it? I tried to send an email with the zip file to another computer in the house, but the .class file wouldn't run the program on the other computer...is there another way to make this happen?

有什么建议吗?

推荐答案

看看 Java Web Start

Java Web Start软件允许您从网上下载并运行Java
应用程序
.Java
Web Start软件:

"The Java Web Start software allows you to download and run Java applications from the web. The Java Web Start software:


  • 提供简单的一键激活应用程序

  • 保证您始终运行最新版本的< br>
    申请

  • 消除复杂的安装或升级程序

这篇关于在线提供Java程序供所有人使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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