Originally Posted by WolfShade
Does it have to be specifically IE? You could just use navigator.javaEnabled() for all browsers. I tested an alert for IE, FF, and Chrome, and it worked in all three.
UPDATE: I disabled Java in my IE8 and tested using navigator.javaEnabled() - it still shows as enabled. ???
"In Internet Explorer 8 under Windows 7, it's hopeless. Nothing prevents Java from running"
Perhaps I have misunderstood the question. There is no way that the site owner can become aware of whether the specific user has Java enabled or not.
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Last edited by Philip M; 09-24-2012 at 05:22 PM..