是否有可能为 Softgrid 提供更小的 JRE/打包 Java 软件
我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您只能查看捆绑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.
IBM 的 J9 是一个相当小的 JVM。 我在手机应用程序中使用它,并且占用的内存很少。
IBM's J9 is a fairly small JVM. I used it in mobile phones applications and it took very little memory.
旧版本的 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)