applet如何自动检测客户端的jre版本是否是jre1.6,如果不是则提示下载!
我用如下方法;
<object
classid= "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 "
name= "preview " id= "preview "
codebase= "http://192.168.9.10/SCADA_WEB/DOWNLOADS/jre-6u1-windows-i586-p.exe#Version=6,0,10,6 "
codetype= "application/java " standby= "載入 applet 中... "
height= "100% " width= "100% ">
<param name= "ARCHIVE " value= "SOEWarnBrow.jar ">
<param name= "codebase " value= ". ">
<param name= "code " value= "ScadaWebCli.SOEWarnBrowser.Applet1.class ">
<param name= "hostName " value= "192.168.9.10 ">
</object> 可是不行,请高手指点,谢谢!
------解决方案--------------------用比较第版本的javac来编译。赶时髦总是死的很难看
------解决方案--------------------就是呀,同意楼上的