Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Maybe this script will help. This is Windows-only, though.</p> <pre><code>&lt;script language='javascript' type='text/javascript'&gt; var javaVersion; var shell; try { // Create WSH(WindowsScriptHost) shell, available on Windows only shell = new ActiveXObject("WScript.Shell"); if (shell != null) { // Read JRE version from Window Registry try { javaVersion = shell.regRead("HKEY_LOCAL_MACHINE\\Software\\JavaSoft\\Java Runtime Environment\\"); } catch(e) { // handle exceptions raised by 'shell.regRead(...)' here // so that the outer try-catch block would receive only // exceptions raised by 'shell = new ActiveXObject(...)' alert('error reading registry'); } } } catch(e) { // Creating ActiveX controls thru script is disabled // in InternetExplorer security options // To enable it: // a. Go to the 'Tools --&gt; Internet Options' menu // b. Select the 'Security' tab // c. Select zone (Internet/Intranet) // d. Click the 'Custom Level..' button which will display the // 'Security Settings' window. // e. Enable the option 'Initialize and script ActiveX controls // not marked as safe' activeXDisabled = true; } // Check whether we got required (1.6) Java Plugin if ( javaVersion != null &amp;&amp; javaVersion.indexOf("1.6")) { pluginDetected = true; alert('it is installed!') } if (pluginDetected) { // show applet page } else if (confirm("Java Plugin 1.6 not found")) { // show install page alert('not found') } else { // show error page alet('error') } &lt;/script&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload