Java Deployment Toolkit支持哪些浏览器?

时间:2010-02-10 11:11:17

标签: java deployment

我无法找到Java Deployment Toolkit支持的浏览器列表。有谁知道这样的清单?

如果没有,任何人都可以提供他们成功使用它的浏览器的经验。我想确认是否支持Internet Explorer 6.

1 个答案:

答案 0 :(得分:0)

看起来像IE,Netscape&苹果浏览器。 http://www.java.com/js/deployJava.txt

getJREs: function() {
    var list = new Array();
    if (deployJava.isPluginInstalled()) {
        var plugin =  deployJava.getPlugin();
        var VMs = plugin.jvms;
        for (var i = 0; i < VMs.getLength(); i++) {
            list[i] = VMs.get(i).version;
        }
    } else {
        var browser = deployJava.getBrowser();

        if (browser == 'MSIE') {
            if (deployJava.testUsingActiveX('1.7.0')) {
                list[0] = '1.7.0';
            } else if (deployJava.testUsingActiveX('1.6.0')) {
                list[0] = '1.6.0';
            } else if (deployJava.testUsingActiveX('1.5.0')) {
                list[0] = '1.5.0';
            } else if (deployJava.testUsingActiveX('1.4.2')) {
                list[0] = '1.4.2';
            } else if (deployJava.testForMSVM()) {
                list[0] = '1.1';
            }
        } else if (browser == 'Netscape Family') {
            deployJava.getJPIVersionUsingMimeType();
            if (deployJava.firefoxJavaVersion != null) {
                list[0] = deployJava.firefoxJavaVersion;
            } else if (deployJava.testUsingMimeTypes('1.7')) {
                list[0] = '1.7.0'; 
            } else if (deployJava.testUsingMimeTypes('1.6')) {
                list[0] = '1.6.0';
            } else if (deployJava.testUsingMimeTypes('1.5')) {
                list[0] = '1.5.0';
            } else if (deployJava.testUsingMimeTypes('1.4.2')) {
                list[0] = '1.4.2';
            } else if (deployJava.browserName2 == 'Safari') {
                if (deployJava.testUsingPluginsArray('1.7.0')) {
                    list[0] = '1.7.0'; 
                } else if (deployJava.testUsingPluginsArray('1.6')) {
                    list[0] = '1.6.0';
                } else if (deployJava.testUsingPluginsArray('1.5')) {
                    list[0] = '1.5.0';
                } else if (deployJava.testUsingPluginsArray('1.4.2')) {
                    list[0] = '1.4.2';
                }
            }
        }
    }