FULL PRODUCT VERSION :
jre 7u25-b16
ADDITIONAL OS VERSION INFORMATION :
Windows 8 2012 version
IE 10.0.9200.16599
FF 22
A DESCRIPTION OF THE PROBLEM :
Document E20472-10 recommends that the dtjava.js file at http://java.com/js/dtjava.js be used for launching applications.
On windows 8 with Ie10 a call to dtjava.validate() results in an Errot
O n windows 8 with FF 22 a call to dtjava.validate() reports that I don't have the latest version of java when I have set 1.7. jre 7u25 is installed
Both browsers report different results
There are syntax errors in the file hosted at java.com ( run jslint on it)
around character 18367
There is no text version provided of the .js file
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
go to http://dev-client.redplum.com/JavaCheckOracle.html and look at the console.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
to report that a 1.7 version of the jre is available
ACTUAL -
FF says my version of java is old
IE10 says I have no java and reports a script error
ERROR MESSAGES/STACK TRACES THAT OCCUR :
IE reports SCRIPTS Access is dendied
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
<script src= " https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js " type= " text/javascript " ></script>
<script src= " http://java.com/js/dtjava.js " ></script>
</head>
<body>
<div class= " browserVersion " >Browser:</div>
<div class= " javaVersions " >Java Versions:</div>
<script>
$(document).ready(function () {
function requestedPlatformIssue(app, r) {
console.log( " app: " + app);
console.log( " r " + r);
}
var platformRequested = {
jvm: " 1.7 " ,
onDeployError: requestedPlatformIssue
};
var platform = new dtjava.Platform(platformRequested);
console.log(platform);
var o = dtjava.validate(platform);
console.log ( " javafxStatus: " + o.javafxStatus() );
console.log ( " jrestatus: " + o.jreStatus() );
console.log ( " canAutoInstall: " + o.canAutoInstall() );
console.log ( " isRelaunchNeeded: " + o.isRelaunchNeeded() );
console.log ( " isUnsupportedBrowser: " + o.isUnsupportedBrowser() );
//var browsers = deployJava.getBrowser();
//console.log(browsers);
//$('.browserVersion').append(browsers);
//var jres = deployJava.getJREs();
//console.log(jres);
//$('.javaVersions').append(jres.toString());
});
</script>
</body>
---------- END SOURCE ----------
jre 7u25-b16
ADDITIONAL OS VERSION INFORMATION :
Windows 8 2012 version
IE 10.0.9200.16599
FF 22
A DESCRIPTION OF THE PROBLEM :
Document E20472-10 recommends that the dtjava.js file at http://java.com/js/dtjava.js be used for launching applications.
On windows 8 with Ie10 a call to dtjava.validate() results in an Errot
O n windows 8 with FF 22 a call to dtjava.validate() reports that I don't have the latest version of java when I have set 1.7. jre 7u25 is installed
Both browsers report different results
There are syntax errors in the file hosted at java.com ( run jslint on it)
around character 18367
There is no text version provided of the .js file
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
go to http://dev-client.redplum.com/JavaCheckOracle.html and look at the console.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
to report that a 1.7 version of the jre is available
ACTUAL -
FF says my version of java is old
IE10 says I have no java and reports a script error
ERROR MESSAGES/STACK TRACES THAT OCCUR :
IE reports SCRIPTS Access is dendied
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
<script src= " https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js " type= " text/javascript " ></script>
<script src= " http://java.com/js/dtjava.js " ></script>
</head>
<body>
<div class= " browserVersion " >Browser:</div>
<div class= " javaVersions " >Java Versions:</div>
<script>
$(document).ready(function () {
function requestedPlatformIssue(app, r) {
console.log( " app: " + app);
console.log( " r " + r);
}
var platformRequested = {
jvm: " 1.7 " ,
onDeployError: requestedPlatformIssue
};
var platform = new dtjava.Platform(platformRequested);
console.log(platform);
var o = dtjava.validate(platform);
console.log ( " javafxStatus: " + o.javafxStatus() );
console.log ( " jrestatus: " + o.jreStatus() );
console.log ( " canAutoInstall: " + o.canAutoInstall() );
console.log ( " isRelaunchNeeded: " + o.isRelaunchNeeded() );
console.log ( " isUnsupportedBrowser: " + o.isUnsupportedBrowser() );
//var browsers = deployJava.getBrowser();
//console.log(browsers);
//$('.browserVersion').append(browsers);
//var jres = deployJava.getJREs();
//console.log(jres);
//$('.javaVersions').append(jres.toString());
});
</script>
</body>
---------- END SOURCE ----------
There are no Sub-Tasks for this issue.