如何检查我是否安装了适用于applet的java 6插件2?

时间:2023-01-24 18:12:20

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

另外,创建一个使用java 6插件2的applet与创建普通applet有什么不同?

1 个解决方案

#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:

有关Applet和Object标记,请参阅Java文档。特别要查看object标签的“class ID”属性的文档。你想使用这样的classid标签:

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.

这将指定确切的版本。不,指定任何特定的Java版本与要求“最新版本已安装”没有什么不同,除了classid属性的值以及codebase属性的值。

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.

另请参阅Java 6更新10中的部署建议。请注意,Java 6更新10添加了许多重要功能,例如,您可以在浏览器之外运行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:

有关Applet和Object标记,请参阅Java文档。特别要查看object标签的“class ID”属性的文档。你想使用这样的classid标签:

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.

这将指定确切的版本。不,指定任何特定的Java版本与要求“最新版本已安装”没有什么不同,除了classid属性的值以及codebase属性的值。

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.

另请参阅Java 6更新10中的部署建议。请注意,Java 6更新10添加了许多重要功能,例如,您可以在浏览器之外运行Applet。