views:

471

answers:

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.

A: 

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)

Michael Borgwardt
+2  A: 

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

Dev er dev
Hmm.. I think I got to ask them to give that a try.
Touko
A: 

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

ljorquera