java - How do I prompt the user to install JRE if she hasn't it already? -


I am writing a Java applet, and would like to know the best way to include it in a web page.

I want to prompt this user to install JRE if it is not already This feature (ideally) should work cross-browser on any OS Java. Another requirement is that the applet should not be loaded on page load, but after user action, do not load JVM on each page load. I think, but it uses document.write () , so I can not use it after the page's rendering ends.

I recommend using applet tags only, in the form of Alex B comments, most browsers The user will be prompted to install at that point if they do not have JRE.

Even until the sun is not on the intranet, I recommend this argument that you can host a JRE download on an internal server, and embed ; Instructions are given to download object tags on that server.

I embed & amp; Object tags, but this version gets nervous due to numbers. Say you need Java 1.5. So you specify that in the object & amp; To ensure the embed tag that the user has to upgrade 1.5 However, it is not true what you want, you want them to upgrade it to the latest GVM. In any event, when I played it last time, it was not the smartest behavior - it is possible that they have improved it now.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -