Re: Bundling a JRE - is a minimal install possible?



On Tue, 16 Aug 2005 21:04:03 -0700, Steve Sobol <sjsobol@xxxxxxxxxxx>
wrote or quoted :

>Is there any way (from a legal/licensing standpoint as well as a technical
>standpoint) to strip the RE down? The impression I got from reading the
>licensing agreement is "no," which is a stupid move on the part of Sun, but
>maybe I'm wrong.

Apparently not. Sun's view is they don't want half baked JREs floating
around screwing up other applications. They won't even let the Jet
people distribute a natively compiled JRE.

I can see five ways around the problem:

1. flooding the Universe with CDs containing the JRE.

2. Getting MS and other OS makers to bundle the JRE and keep it up to
date automatically with auto updates.

3. invent an efficient way to update the JRE without having to send
every byte all over. what you really want to send is the delta of the
obfuscated source, or something logically equivalent.
This of the program as a parse tree. Send the changes to the tree, not
the changes to the class files considered as a text file.
see http://mindprod.com/projects/deltacreator.html
http://mindprod.com/projects/bulkfiledistributor.html

4. Sun get aggressive about keeping its JREs up to date. They
automatically update themselves in the dead of night unless
bludgeoned.

5. A standard installer that sniffs around for a JRE. If it can't find
one it downloads one from Sun and installs it. This way you need not
bundle a JRE with your program, unless you are distributing on CD.
It is nuts for every app to independently solve this general problem
or try to get novice users to handle it manually. The last time I
looked, even the professional installer InstallAnywhere was not bright
enough to do that. You had to decide to either include or exclude the
JRE. If you included it, it got installed even if there was a more
recent one already installed.


.



Relevant Pages

  • Re: SUN jre broke registry
    ... and if I'm wrong search for othe registry cleaning tools from sun ... Then an update to jre 1.5.06 was suggested. ... > Problems seems to be that the SUN installer messed up the registry. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: What is the difference between Java JRE 5.x and 6.x (1.5.x / 1.6.x) ???
    ... Say that a system has any non-specific version of JRE installed (sake ... trigger the Exploit_06 vulnerability. ... it must be within the normal code base or instruction set of Java for ... only be leveraged if the default behavior of the JRE installer code is ...
    (comp.lang.java.programmer)
  • Re: Build standalone executable
    ... Eclipse environment as either an applet or an application. ... multiple platforms; just Windows. ... These can be run by double clicking and icon on a Windows PC which has a JRE installed. ... With 3 & 4 you can use a normal Windows installer to install the exe with desktop icons etc. ...
    (comp.lang.java.programmer)
  • SUN jre broke registry
    ... Then an update to jre 1.5.06 was suggested. ... Problems seems to be that the SUN installer messed up the registry. ... registry api calls that render keys useless? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Smaller package for users without JRE
    ... If I bundle up the JRE folder with my small application, ... JRE installer for Windows is only 15.5 MB. ... It is the installed JRE folder that is that large. ...
    (comp.lang.java.programmer)