I've got an Java applet, which requires Java ver. at least 7.0.0.
Is there any possibility, to check whether an applet failed to load and display some message to user that he needs to update his Java software?
I've tried to use some background, but it shows only when there is no Java at all, otherwise it shows white rectangle with information of ClassNotFoundException
. Here is sample of my HTML which includes my applet.
<div style="background-image: url('img/appletbg.png'); width: 790px; height: 900px;">
<applet code="MyPackage/MainClass.class"
archive="applet/MyJar.jar" width="790" height="900">
</applet>
</div>
I know, that I can figure out installed Java version by JS, but it is client side, I'd prefer to show some message without ANY client interaction.