Skip to main content

Java Detection Worked, Now it Doesn't

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
universityofky
Offline
Joined: 2013-02-22

I was having my people point their browser to my web page to see if their version of Java was new enough for my web-based training. The script was simple and worked fine. Either the last two version of Java and/or www.java.com/js/deployjava.js has changed, and the script no longer works. I'm appending it at the bottom of this message. Would anyone have an idea how to detect without require the user to "click" on anything once they visit my detection page? Thank you in advance.

<script src="http://www.java.com/js/deployJava.js"></script><script> // This section detects Java // check if current JRE version is greater than 1.6.0 if (deployJava.versionCheck('1.6.0_10+') == true) { document.write('

complete ' + ' ' + 'Java Passed' + '

'); } else { document.write('

complete ' + ' ' + 'Java is either not installed or current ' + ' ' + 'Failed

'); } </script>