I have uninstalled all the instances of java and now i am using an java applet in my application..
When i tried to access the webpage containing that applet from IE9 it ask me to install Java..
When i tried to install java from IE9 i found the following warning and then java couldnt install..
Warning: Error
Please help me out..
Thanks
解决方案
Java is an independent Software that provides a runtime environment for Java applications. To install Java, visit [Java Downloads Page] and download the most appropriate JRE for your Operating System. Select the windows offline version and follow instructions on how to install. If after installing you experience the same problems with IE, then know that it''s IE that has the problem and not your computer
Regards,
Pat
You need to add a small code to your HTML-Page containing the applet.
Because the applet will not run when Java is not installed - so you need to do it in a more "native" way.
So add the following to your HTML code (inside the body):
if(navigator.javaEnabled()){
document.write(''Java is enabled'');
}
else {
document.write(''Java is not enabled'');
}
You can also test and develop it first without the applet.
That value in document.write(value) can be extended and carry pretty much from a simple String, an image reference up to a applet with params...
Have fun!