且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检查我是否安装了用于小程序的 java 6 插件 2?

更新时间:2023-11-19 21:07:28

请参阅 Java 文档以了解 小程序和对象标签.特别是查看对象标签的类 ID"属性的文档.您想使用这样的 classid 标签:

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" 

哪里

xxxx = 0016
yyyy = 0000
zzzz = 0002

这将指定确切的版本.不,除了 classid 属性的值和 codebase 属性的值之外,指定任何特定的 Java 版本与要求安装的最新版本"没有什么不同.

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.

另见部署建议来自Java 6 更新 10.请注意,Java 6 更新 10 添加了许多重要功能,例如,允许您在浏览器之外运行小程序.

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.