Name: nt126004 Date: 10/04/2002
FULL PRODUCT VERSION :
Java web start 1.2
FULL OPERATING SYSTEM VERSION :
Windows XP
ADDITIONAL OPERATING SYSTEMS :
A DESCRIPTION OF THE PROBLEM :
When using the html/js code snippets provided to enable
the one-click download feature in jws 1.2 (Windows only),
the download only includes the java web start program, not
a jre, even though the documentation clearly states (from
http://java.sun.com/j2se/1.4.1/docs/guide/jws/relnotes.html#autoinstall):
"They will click through one security dialog box, which
will automatically initiate a download of either Java Web
Start alone or Java Web Start plus Java Runtime
Environment 1.4.1"
However, the step-by-step setup guide states (from
http://java.sun.com/j2se/1.4.1/docs/guide/jws/developersguide.html#autoinstall):
"The cab file does not contain a Java Runtime Environment,
so you will need to have a Java Runtime Environment
installed before using this auto-download feature"
If that is true (no jre included) it would render the
one-click feature virtually useless, and I would request
an enhancement to include a jre in the download (like the
first quote). If it is not true, please correct the bug by
including one.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Set up a website follwing the instructions in
http://java.sun.com/j2se/1.4.1/docs/guide/jws/developersguide.html#autoinstall
2.Using a jre/jdk-less windows machine, run a jws program
from the website
3.Jws crashes because no jre is installed
EXPECTED VERSUS ACTUAL BEHAVIOR :
The one-click is expected to include a jre in the download
(if the developer requests it by setting up the website
appropriately), but jws will always download without one.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
N/A (the source code is the web scripts given on the jws support pages)
---------- END SOURCE ----------
(Review ID: 165046)
======================================================================
- duplicates
-
JDK-4758318 One-click installation of WS & JRE is not documented
- Resolved