托管 Java Web Start 应用程序以包含到 Linux 发行版中

发布于 2024-07-27 19:42:37 字数 200 浏览 3 评论 0 原文

我编写了一个 Java 免费软件(闭源)产品,将其部署在 Web 主机上并通过 JNLP(包括 Linux 客户端)进行分发。

我计划建议将该产品纳入多个 Linux 发行版,如果可能的话“按原样”(基于 JNLP)。

我是否可以联系发行版,或者我需要重新配置某些内容(部署在另一台主机上、将 JNLP 转换为某些内容等)? 你的经验是什么?

I authored a Java freeware (closed source) product that I deploy on a web host and distribute via JNLP, inclusive Linux clients.

I plan to suggest this product for inclusion into several Linux distro, if possible "as is" (JNLP-based).

Can I already contact distros, or I need to reconfigure something (deploy on another host, convert JNLP to something, etc.)? What is your experience?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

墨落画卷 2024-08-03 19:42:37

我想说的是,免费软件 JNLP 应用程序与 Linux 发行版往往包含的内容几乎相反。

首先,JNLP 无法与本机包管理解决方案一起使用。 如果您希望将应用程序包含在发行版中,则需要以本机格式打包并以标准方式更新。

其次,大多数发行版都倾向于开源包,许多发行版不会在其默认存储库中包含非开源包。 某些发行版可能有特殊的非免费存储库。 在 OpenJDK 之前,您甚至可能不会在这些存储库中使用 Java 本身。

在我看来,你最好尝试自己建立一个用户群,因为这样你就可以完全控制发布等。

I would say that a freeware JNLP application is pretty much the opposite of what Linux distributions would tend to include.

Firstly, JNLP will not work with the native package management solution. If you wanted to get an application included in a distribution it would need to be package in the native format and updated in the standard way.

Secondly, most distributions will favour open source packages and many will not include non open source packages in their default repositories. Some distributions may have specical non-free repositories. Up until OpenJDK you may not even Java itself would be in these repositories.

In my opinion you would be better trying to build a user base on your own as you then have complete control over releases etc.

神经暖 2024-08-03 19:42:37

一般来说,Linux 发行版对他们无法集成到发布计划中的东西不太感兴趣。 由于 JNLP 允许您随时部署新版本,因此他们无法在发布前进行版本冻结。 这会将您排除在大多数发行版之外 - Debian 甚至出于这个原因删除了 Adob​​e 的 flash 插件,如果他们要删除 Flash,不要指望他们会对不太知名的应用程序例外。

如果您愿意将其作为普通的 .jar 进行分发,您也许能够将其放入 - 对于 debian,您需要阅读 Debian 新维护者指南关于如何打包东西的 Debian 政策提交 ITP (打算打包),上传软件包,然后在debian-mentors 邮件列表。 更多信息请参阅 Debian 导师常见问题解答。 提交给 Debian 的软件包也将在适当的时候进入 Ubuntu。

当然,其他发行版会有不同的政策; 如果有疑问,请检查他们的常见问题解答,或在相关发行版的适当邮件列表上询问。

Generally Linux distros aren't very interested in things they can't integrate into their release schedules. Since JNLP allows you to deploy a new version at any time, they can't do a version freeze before release. This will exclude you from most distros - Debian even removed Adobe's flash plugin for this very reason, and if they'll remove Flash, don't expect them to make exceptions for a less well known application.

If you're willing to distribute it as just a plain .jar, you might be able to get it in - for debian, you'll want to read the Debian New Maintainer's Guide and Debian Policy on how to package things, submit an ITP (intent to package), upload a package, then seek sponsorship on the debian-mentors mailing list. More info can be found at the Debian mentors FAQ. Packages submitted to Debian will also make their way into Ubuntu in due course.

Other distributions will have different policies, of course; if in doubt, check their faqs, or ask on an appropriate mailing list for the distro in question.

宛菡 2024-08-03 19:42:37

找出一种方法,在您想要包含软件的每个平台上正确打包它,并为严格的软件管理做好准备(如果您希望将代码包含在标准安装中,则冻结、多个版本等。

否则,您可能会创建一个简单的包,仅包含 JNLP 页面的链接,该页面可能包含在非核心部分中。

我们正在谈论什么应用程序?

Figure out a way to package it properly on each of the platforms you want to include your software on, and prepare for rigid software management (freezing, multiple versions etc if you want the code included in the standard installation.

Otherwise you may be able to create a simple package just containing the link to the JNLP page which may be included in the non-core parts. It is worth a try.

What applcation are we talking about?

凡尘雨 2024-08-03 19:42:37

Java 程序往往很难打包和维护。 因此,不同发行版的指导方针有所不同。 因此,您应该首先查看一些流行发行版的具体指南。
除此之外:独立于包管理器进行自我更新的所有内容对于包的用户和维护者来说都是真正的痛苦,因此您应该考虑将不同的发行版模型包含在 Linux 发行版中。

Java programs tend to be very difficult to package and maintain. Therefore guidelines vary from distro to distro. So you should have a look at the specific guidelines for some popular distros first.
In addition to that: Everything that updates itself independently from the package manager can be real pain for the user and maintainer of the package so you should consider a different distribution model for inclusion in linux distros.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文