Reputation: 4944
I'm writing a Java applet for a small game. When a user doesn't have Java installed, I would like to provide some sort of help. Automatically downloading Java is most likely not an option. How would I go about detecting if Java is installed, and showing a OS-appropriate download button if it's not?
Thanks in advance,
Upvotes: 1
Views: 93
Reputation: 168825
Use deployJava.js to ensure that a suitable JRE is installed (and then it will write the applet element).
Upvotes: 1