470,647 Members | 1,268 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

java plugin

In a web page, can I know which version of java's plugin is installed? And
if it's enable?
Oct 5 '05 #1
2 1165


Ayrton wrote:
In a web page, can I know which version of java's plugin is installed? And
if it's enable?


navigator.javaEnabled()
should tell your script whether Java is enabled or not.
Reading out the version is probably best done then in your Java applet
itself.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Oct 5 '05 #2
navigator.javaEnabled() is now effectively useless because the latest
version of IE 6 (6.0.2900.2180.xpsp_sp2) now returns true regardless of
the version of sun java installed.

I think the reason is that Microsoft VM is installed. This was
apperently not the case until earlier this year when a security update
came out and changed the behaviour, before then if you had it disabled
or not even installed it would return false, now it alwasy returns true
on that browser.

Keith

Oct 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by grant | last post: by
reply views Thread by ewright66 | last post: by
1 post views Thread by Jan Vinten | last post: by
4 posts views Thread by Dani Shapira | last post: by
7 posts views Thread by Klaus Friese | last post: by
4 posts views Thread by Christos Kalantzis | last post: by
2 posts views Thread by Tim Murray | last post: by
4 posts views Thread by aotemp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.