Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / February 2006

Tip: Looking for answers? Try searching our database.

Easy deployment of JRE on Windows

Thread view: 
Nikolaus Wagner - 21 Feb 2006 19:46 GMT
Hi!
I seek a solution to a simple problem:

An installer that just downloads the JRE if it is not present, installs
it silently and without any troubles.

Installing my program may then well be with a 15 MB JRE download
penalty (no problem with broadband) but there are no complications and
people might not even notice that they're downloading a java program
and the JRE, they should just notice that it took a while to download
my program.

So far I've only discovered the NSIS-Installation creator for Windows
on
http://nsis.sourceforge.net.

Is there a constant path for downloading the latest JRE on Sun servers
or is there a standard way of downloading the JRE?
An actual installer for Java on the Windows platform (and Linux,
possibly :-) would be fine too.

Thanks,
Nikolaus

Signature

Yes, Yes, Yes, more of the DnD flavor
MC Beholder on the mike, DJ Mindflayer kicking it massive

IchBin - 21 Feb 2006 21:21 GMT
> Hi!
> I seek a solution to a simple problem:
[quoted text clipped - 17 lines]
> Thanks,
> Nikolaus

Look at IzPack http://www.izforge.com/izpack/.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
Nikolaus Wagner - 22 Feb 2006 12:35 GMT
>> Hi!
>> I seek a solution to a simple problem:
[quoted text clipped - 3 lines]
>>
> Look at IzPack http://www.izforge.com/izpack/.
the site says:
"It produces lightweight installers that can be run on any operating
system where a Java virtual machine is available. Depending on the
operating system, it can be launched by a double-click or a simple
'java -jar installer.jar' on a shell."

There might not be any JRE on the system - what I'm looking for is an
easy deployment of the JRE if that part of the software is not
installed - I do not think this is part of NSIS.

That is imho one of the deficiencies of Java on Windows: .NET gets
installed by itself, the Java runtime environment must be deployed
separately.

I would like to make that step as painless as possible.

With an ideal installation solution the user wouldn't even notice that
the app he installed is a Java app or that there is something
systemwide to install that does not really belong to the app itself.

Thanks,
Nik

Signature

Yes, Yes, Yes, more of the DnD flavor
MC Beholder on the mike, DJ Mindflayer kicking it massive

IchBin - 22 Feb 2006 14:15 GMT
>>> Hi!
>>> I seek a solution to a simple problem:
[quoted text clipped - 25 lines]
> Thanks,
> Nik

You need to use it's "native launcher" along with IzPack.

At the bottom of the page at
http://www.izforge.com/izpack/index.php?page=download

I agree with you about requiting JRE to install a Java app on windows
or really any OS. I would think that Sun would update their JAWS to
handle this with a "very" small piece of C code.

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Roedy Green - 23 Feb 2006 14:20 GMT
On Tue, 21 Feb 2006 20:46:53 +0100, "Nikolaus Wagner"
<spam_sorting_elf2.10.hmgut@spamgourmet.com> wrote, quoted or
indirectly quoted someone who said :

>Is there a constant path for downloading the latest JRE on Sun servers
>or is there a standard way of downloading the JRE?

there pretty well has to be because JAWS uses it and EMBED uses it.

At the very least JAWS knows.

JAWS can does almost  silent installs of JREs.

see what happens when you probe these addresses

<j2se version="1.6.0" href="http://java.sun.com/products/autodl/j2se"
/>
       <j2se version="1.6+"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_06"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_05"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_04"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_03"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_02"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0_01"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5.0"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_10"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_09"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_08"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_07"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_06"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_05"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_04"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_03"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_02"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2_01"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4.2"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.4+"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.3+"
href="http://java.sun.com/products/autodl/j2se" />
       <j2se version="1.2+"
href="http://java.sun.com/products/autodl/j2se" />

presumably you dive at a get with that version param or some mangling
of it.

Maybe these in something in the JNLP spec about how it works.

See http://mindprod.com/jgloss/jnlp.html
http://mindprod.com/jgloss/javawebstart.html#LEARNINGMORE
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Roedy Green - 23 Feb 2006 14:22 GMT
On Tue, 21 Feb 2006 20:46:53 +0100, "Nikolaus Wagner"
<spam_sorting_elf2.10.hmgut@spamgourmet.com> wrote, quoted or
indirectly quoted someone who said :

>I seek a solution to a simple problem:

do you have any budget to solve it?
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Nikolaus Wagner - 23 Feb 2006 15:00 GMT
> On Tue, 21 Feb 2006 20:46:53 +0100, "Nikolaus Wagner"
> <spam_sorting_elf2.10.hmgut@spamgourmet.com> wrote, quoted or
[quoted text clipped - 3 lines]
>
> do you have any budget to solve it?

No, sorry :-)

There is an old business program, written in Access 95 that I would
like to port to Java. There is almost no money involved, I'd like to do
this for fun, the money I may get will be spent on Java books ;-)

Signature

Yes, Yes, Yes, more of the DnD flavor
MC Beholder on the mike, DJ Mindflayer kicking it massive



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.