先下载: deployJava.js
下载地址: http://www.java.com/js/deployJava.txt
deployJava.getJREs(); //检查jre版本
deployJava.installLatestJRE() //自动跳转到jre下载页面
var jre = deployJava.getJREs();
if ("" == jre || null == jre )
{
alert("请安装jre");
deployJava.installLatestJRE();
}
下载地址: http://www.java.com/js/deployJava.txt
deployJava.getJREs(); //检查jre版本
deployJava.installLatestJRE() //自动跳转到jre下载页面
var jre = deployJava.getJREs();
if ("" == jre || null == jre )
{
alert("请安装jre");
deployJava.installLatestJRE();
}