I need to auto detect for the latest version of java (or java vm or jre) so that users can run an applet. If java is not enabled, installed or running it should open the java.com page in a new window that will then install the latest version of java.
I just need the exact code required to do this. I have read about using the object tag and some other ideas but the exact code for html is what I need. Also, this code should work on all browsers and OS. I am sure this has been done before but I having trouble finding the exact answer.