Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I check whether Java is installed on web-user machine via browser?

980567Dec 18 2012 — edited Dec 25 2012
Greetings!


My task is to determine whether the visitor can run java applets on his PC. To know this I need to check whether the visitor has JRE installed.
I tried to use navigator.javaEnabled() function for this, but actually it gives information only about the browser's permissions.
Also I tried to use deployJava script for this, but looks like it tried to run some java applet and this raised some popups on my browser. Sometimes it asks the user to permit the evaluation of java, which is not a suitable behavior for me.

I know there is a page http://www.java.com/en/download/installed.jsp which also checks for java. I lioke this page: it doesn't ask some security permissions and displays the java version correctly.

So the question is: how can I check java version on some web-site visitor PC reliably and without showing security permission dialogs?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 22 2013
Added on Dec 18 2012
4 comments
172 views