I’ve developed a website (internal website behind a firewall) that uses a Java applet. If Java is not installed on the client, then it will fall back to other solutions.
The issue I now have is that at least IE9 pops-up a dialog saying that my webpage uses Java and how to install this. I’m already taking care of this on my webpage, so can I use some Meta tag or other to stop IE9 from ruining the user experience?
Users will think my webpage can’t be run without Java when this pop-up is shown!
HTML
<applet
id="tinyApplet"
width="0"
height="0"
codebase="/applet"
archive="se.lu.ldc.tiny.jar"
code="se.lu.ldc.tiny.applet.Tiny">
Some HTML text
</applet>
Have JS check that Java is installed before ever writing the applet element. E.G.
When you type..
In the FF JS console input line, you might see something like:
..if Java is not installed. If it is not installed, use the alternate content/strategy.
If the call to
getProperty(String)returns a nonnullvalue, then Java is installed (andjava.versionis a property defined in that JRE).