How can I check if I have that java 6 plugin 2 for applets installed?

为君一笑 提交于 2019-12-24 16:18:47

问题


Also, is creating an applet that uses the java 6 plugin 2 thing any different than creating a normal applet?


回答1:


See the Java documentation for the Applet and Object tags. Especially look at the documentation of the "class ID" attribute of the object tag. You want to use a classid tag like this:

classid="clsid:CAFEEFAC-xxxx-yyyy-zzzz-ABCDEFFEDCBA" 

where

xxxx = 0016
yyyy = 0000
zzzz = 0002

and this will specify that exact version. No, specifying any specific Java version is no different than asking for the "latest version intalled" except for the value of the classid attribute and perhaps the value of the codebase attribute.

See also Deployment Advice from Java 6 update 10. Note that Java 6 update 10 adds a number of significant features that allow you, for example, to run an Applet outside of a browser.



来源:https://stackoverflow.com/questions/719712/how-can-i-check-if-i-have-that-java-6-plugin-2-for-applets-installed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!