JRE6不能兼容以前版本的Applet

<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>

 

一个遗留的项目用到了Applet,而且是在jdk1.4的环境下开发运行的,用户在jre1.4和jre5上运行一切正常。但是将jre升级到6就出现问题了。而这个原因很可能是因为jre6采用了新的plug-in策略,这个策略是默认选中的。如果将其取消则采用以前的plug-in策略,这个时候一切就ok了。具体地可以参看官方文档。

----------------------------------------------------------以下转载自sun官方文档---------------

What is next-generation Java Plug-in and how can i switch between the old Java plug-in and new Java plug-in?


This article applies to:
  • Platform(s): Windows 2000 ,  Windows XP ,  Vista
  • Browser(s): Internet Explorer 6.x ,  Internet Explorer 7.x ,  Netscape 7 ,  Mozilla 1.4+ ,  Firefox
  • Java version(s): 6.0

Java 6 Update 10 (6u10) includes a brand-new implementation of the Java Plug-in, which is used by default as long as you are using Firefox 3 or Internet Explorer. Applets instead of being executed in a Java Virtual Machine (JVM) instance embedded in the web browser's process, are run in separate JVM instances which are launched by the plug-in's code. As a result the next-generation plug-in runs applets outside of the browser in one or more separate processes. Applets still appear inside of the web browser window, but now it is possible to use different Java versions and configurations to run different applets.

A new implementation of the Java Plug-In features:
  • Better Windows Vista support.
  • Improved reliability.
  • Improved user experience.
  • Improved Java/JavaScript communications.
  • Built-in JNLP support.
Switching between the old Java Plug-in and next-generation Java Plug-in
The new Java Plug-in is enabled by default. However if there are issues running applets with the new Java Plug-in, the user can switch to the old Java plug-in without any manual manipulation of the windows registry and moving files.
Steps to switch between Java Plug-ins
  1. Click Start.
  2. Click Control Panel.
  3. Double click on Java Control Panel.
  4. Click Advance tab in Java Control Panel.
  5. Scroll to Java Plug-in entry.
  6. Uncheck the check box for Enable next-generation Java Plug-in.
  7. Click Ok and restart the system.

 

<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值