-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b18
-
x86
-
windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2218903 | 7u4 | Andy Herrick | P3 | Closed | Fixed | b05 |
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
If there is no version of Java on machine when a html page is loaded in Firefox or IE with the following script:
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("swing/etfLocalWin.jnlp", '1.7.0');
</script>
When the Launch button is clicked, jre-6u29-windows-i586-iftw-k.exe is downloaded and run.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Make sure no Java of any kind. Paste this to an html file on the desktop & double click. Then click Launch.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Launch me!!!
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("yourAppHere.jnlp", '1.7.0');
</script>
</body>
</html>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java 1.7 JRE installed
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Launch me!!!
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("yourAppHere.jnlp", '1.7.0');
</script>
</body>
</html>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Have the customer go around twice. Once there is a Java on the machine the process is different and you get 1.7 the second time. You can imagine how hard the customer may have to swallow to actually do this though.
This is a new product launch occurring soon. Wanted to get the client base on 1.7 right from the start, except for MacOS.
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
If there is no version of Java on machine when a html page is loaded in Firefox or IE with the following script:
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("swing/etfLocalWin.jnlp", '1.7.0');
</script>
When the Launch button is clicked, jre-6u29-windows-i586-iftw-k.exe is downloaded and run.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Make sure no Java of any kind. Paste this to an html file on the desktop & double click. Then click Launch.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Launch me!!!
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("yourAppHere.jnlp", '1.7.0');
</script>
</body>
</html>
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java 1.7 JRE installed
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Launch me!!!
<script src="http://www.java.com/js/deployJava.js"></script>
<script>
deployJava.setInstallerType("kernel");
deployJava.createWebStartLaunchButton("yourAppHere.jnlp", '1.7.0');
</script>
</body>
</html>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Have the customer go around twice. Once there is a Java on the machine the process is different and you get 1.7 the second time. You can imagine how hard the customer may have to swallow to actually do this though.
This is a new product launch occurring soon. Wanted to get the client base on 1.7 right from the start, except for MacOS.
- backported by
-
JDK-2218903 deployJava.js installs 1.6 when asked for 1.7 on clean machine
- Closed