是否有可能为 Softgrid 提供更小的 JRE/打包 Java 软件

发布于 2024-07-13 00:03:45 字数 372 浏览 6 评论 0原文

我的 Java 程序作为 Microsoft App-V 包(也称为 Softgrid)分发到一个客户。 JRE 的大小引起了一些头痛,当通过较慢的连接分发时,JRE 的大小相当大(App-V 似乎导致 Java 包包含在分发中,而不是作为压缩分发,而是作为未压缩的安装包)。

是否有可能拥有较小版本的 JRE 之类的?

或者,如果有人对使用 App-V 包分发 JRE 有好的想法,那也可以。 (尽管我对包装没有直接影响)来压缩应该是可用的,但它似乎没有那么大的效果。

My Java program is being distributed as a Microsoft App-V package (also known as Softgrid) on a customer. The JRE size is causing some headache, being quite large when distributed over slower connections (the App-V seems to cause the Java package to be included with the distribution and not as a zipped distribution but as a uncompressed, installed package).

Is there some possibility to have a smaller version of the JRE or something?

Or if somebody has good ideas on the distribution of the JRE with App-V package that could be fine also. (even though I don't have straight influence to the packaging) Come compression should be available but it doesn't seem to have so much effect.

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

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

发布评论

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

评论(3

忘东忘西忘不掉你 2024-07-20 00:03:45

您只能查看捆绑java kernel安装程序。 它的大小约为 1MB。 安装后,它将按需下载 java 类。

You can look at bundling java kernel installer only. It is ~1MB in size. When installed, it will download java classes on demand.

季末如歌 2024-07-20 00:03:45

IBM 的 J9 是一个相当小的 JVM。 我在手机应用程序中使用它,并且占用的内存很少。

IBM's J9 is a fairly small JVM. I used it in mobile phones applications and it took very little memory.

长途伴 2024-07-20 00:03:45

旧版本的 JRE 通常较小,因为标准 API 已不断添加。 当然,如果您的应用程序不需要最新的语言功能和/或 API 类,这只是一个选项。

另外,请仔细检查您使用的是 JRE 而不是 JDK(后者要大得多)

Older versions of the JRE are generally smaller, since the standard API has been continuously added to. Of course, this is only an option if your app does not require recent language features and/or API classes.

Also, double-check that you're using a JRE rather than a JDK (which is much larger)

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