JDK-7160404 : Difficulty accessing Java download
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u31
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2012-04-10
  • Updated: 2013-01-08
  • Resolved: 2012-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u6Resolved
Related Reports
Duplicate :  
Relates :  
Description
Have problems with Firefox11 and IE9 and probably other versions of those two browsers.

�� overriding the URL in their page script: deployJava.getJavaURL = 'http://java.com/inc/BrowserRedirect1.jsp'. 
  It worked for online installation (when the Java detection NPAPI or ActiveX plugin is deactivated or removed) 
  but doesn���t work whenever the JDT script is able to use the JD plugin.
 
  It seems that the java.sun.com domain URL is still used by the plugin. 
  Understand it might be necessity to do hard-code this, otherwise ill-intentioned 
  scripts could override the download location and install malware.

�� Tried to make the JDT script behave as if it couldn���t find the plugin by 
  overriding the detection function such as in deployJava.isPluginInstalled = function() { return false; }, 
  However this doesn���t work properly because deployJava.js appends the return URL 
  and somehow BrowserRedirect1.jsp displays an error page when do that

Following the guidelines here: http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html

The following thread suggests we are not the only ones experiencing this issue:

https://forums.oracle.com/forums/thread.jspa?threadID=2369163&tstart=0

Comments
EVALUATION this is fixed by 7163304
08-05-2012

SUGGESTED FIX for FF/Chrome problem, this can be fixed in deployJava.js alone, see 7163304. For IE problem, the cause is in 6uX DT dll. For now, we will disable auto-install for IE when using 6uX DT dll. we can detect this in deployJava.js.
24-04-2012

EVALUATION two problems on installLatestJRE(): On Firefox/chrome, The call to deployJava.installLatestJRE() returns false without doing anything else. On IE9, got download dialog and hangs. download dialog never get dismissed. For the FF/Chrome problem, it is because current deployJava.js: installLatestJRE: function(installCallback) { if (this.isPluginInstalled()) { if (this.getPlugin().installLatestJRE(installCallback)) { ... In old 6u npdeployjava1 implementation, installLatestJRE checks for zero arg, and return false if it's not zero arg. That's why we see the problem. See CR 7163304 for more info. For the IE hang problem, it is because in the 6u DT plugin dll, we did not update the JREInstall.cpp, function CheckFileIntegrity to be aware of the Oracle signature. For some reason, when we try to show the signature mismatch dialog, sometimes we will have a hang. We have 2 threads in in doModal call, calling into some ATL code. JDK 7 does not have the problem - because we added the change to be aware of Oracle signature, so the dialog doesn't get shown anyway. http://web-east.east.sun.com/www/webrevs/ah22606/1.7.0/7042206/deploy/webrev/ JDK 7 DT code works even if dialog needs to be shown. I checked. But DT code is a bit different between 6u and 7u. In 6u, the problem is always there, I tried older JRE (6u27) and same problem is there. So it's not a new problem - it's just exposed now because JRE installer are signed by Oracle cert, not Sun.
24-04-2012