3

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.

4

3 回答 3

3

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

于 2009-02-02T14:40:31.490 回答
1

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

于 2009-02-02T15:13:16.400 回答
0

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)

于 2009-02-02T14:35:34.243 回答