i'm quite curious too..
is it possible to bundle the jre into a folder..then write a bat file
and user just double click and it would call the jre to run the java
pgm?
jonasforss...@yahoo.se wrote:
At work, we used to ship some code in a CD that packed in its own jre.
We provided a perl script that you could run which would look for the
jre in the CD, if everything else failed and run our code.
I dont have the data on how much space it took up, but a quick look
into my jdk 1.5 directory on my windows machine shows that the whole
jdk directory is 118 MB
I would assume that a 128 MB pen drive would see you through in this
case!
Thanks
-Indraneel
ahji...@gmail.com wrote:
> i'm quite curious too..
>
> is it possible to bundle the jre into a folder..then write a bat file
> and user just double click and it would call the jre to run the java
> pgm?
Steve W. Jackson - 06 Jul 2006 17:00 GMT
> At work, we used to ship some code in a CD that packed in its own jre.
> We provided a perl script that you could run which would look for the
[quoted text clipped - 15 lines]
> > and user just double click and it would call the jre to run the java
> > pgm?
I maintain an application that has long bundled its own JRE when
shipped. Our most recent release bundled 1.4.2_08, and the entire "jre"
directory in our Windows version is a little over 41 MB. Our next
release will use 1.5.x when it comes time to ship it, but I don't yet
know the size.
We make our installers with InstallAnywhere, and they offer "VM packs"
for download that can be bundled with the installer. I looked through a
couple of these some time ago, and they're just the essentials of a JRE.
The same could certainly be done by other means. Sun's license allows
redistribution of a JRE, and dropping one in place like this is an
effective means of ensuring that one is accessible to an application and
won't be affected by any user's decision to uninstall their own or
change versions.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama