Re: Smaller package for users without JRE



Alan wrote:
On Feb 5, 5:41 pm, Lew <l...@xxxxxxxxxxxxx> wrote:
On Feb 5, 5:35 pm, Alan <jalantho...@xxxxxxxxxxx> wrote:

Is there any way to package a SMALL Java application for a user
who does not have the JRE installed on his machine?
If I bundle up the JRE folder with my small application, I think
it is 80MB.
There's no point in making a Java application for a user who doesn't
have Java.

80 MB is not very large. There are many native-executable
distributions that are larger than that.

It is strange that your JRE inclusion is so large. The official Sun
JRE installer for Windows is only 15.5 MB. Even the JDK installer for
Windows is only 73.1 MB.

--
Lew

What I am doing is taking the already installed JRE folder on my
machine and zipping it up. Then I refer to the right location for the
JRE in a Batch or script file that runs the application.

It is the installed JRE folder that is that large. Alan

I have three things to say about that:
Yikes,
Yikes,
And don't do that!

You're particular JRE folder is not likely to run on your users computer. They may have a Mac, Linux, Solaris, Windows, or something else. Point users to http://www.java.com, and let them install the version of Java that is appropriate.

This has the added benefit of installing it PROPERLY, rather than just copying files (ever heard of the Windows Registry?)

--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
.



Relevant Pages

  • 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)
  • Windows Installer und JAVA-JRE-Update
    ... erhalte seid einiger Zeit beim JRE-Update eine Fehlermeldung, der Windows ... Die Meldung ist mit Windows Installerübertitelt. ... Wenn ich versuche nicht den Update von JRE sondern das ganze JRE einzuspielen, ... dann kommt eine Windows Installer Meldung mit "Fehler bei der Anmeldung von ...
    (microsoft.public.de.german.windowsxp.setup)
  • 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)
  • 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)