Link to home
Start Free TrialLog in
Avatar of JohannRamon
JohannRamonFlag for Colombia

asked on

How to detect Internet Explorer options, particularly Tools-Internet Options-Advanced Settings

Hi,

I have an ASP application that runs on different versions of Windows (XP, 2000, 2003) and IE (5.5, 6, 7)

Because of legacy compliance the web application has to work with Microsoft Java Virtual Machine (MSJVM) or with Sun Java, so we have a different set of applets for each virtual machine. Now, the question is how can i detect wich version of Java is enabled on "Tool-Internet Options-Advanced Settigs"? MSJVM or Java (Sun)?

The clients can have installed one of them or both but the important thing is wich one is enabled in IE.

Thanks,

Johann
ASKER CERTIFIED SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JohannRamon

ASKER

Thanks b0lsc0tt:

Finally i checked first the Sun virtual machine with code like this one.

Best regards,

Johann



        try{
            var SJVM = document.JavaVersionApplet.getJavaVersion();
            alerta += "SUN VM: " + SJVM + " enabled\n";
            if (SJVM < "1.6"){
                alerta += "Update to 1.6\n";
            }
            else{
                JVMSUN = true;
            }
        }
        catch(e){
            alerta += "SUN VM: Not installed or not enabled\n";
        }

Open in new window

Your welcome!  I'm glad I could help.  Thanks for showing the specifics of how you used it.  Also thanks for the grade, the points and the fun question.

bol