在Windows 7,64位下,由于升级到JRE-7 32位,在IE9 32位或Chrome下,我无法运行诸如this one之类的小程序。在Applet矩形内,我看到消息“Error。Click for details”
点击applet框(空白)会出现一个对话框:
Application Error
DrawingLines.class
There was an error while executing the application. Click "Details" for more information.点击“Details”按钮打开Java控制台,但没有错误
Java Plug-in 10.3.0.5
Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
User home directory = C:\Users\Blah
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------这两个浏览器中的开发者工具控制台都是空白的。
如果我重新加载页面,我最终会遇到一种死锁,浏览器停止响应。
任何想法为什么没有错误显示在控制台中?
(编辑)
由于我的JRE是32位的,因此64位版本的IE9不会运行小程序。这是有道理的,浏览器会报告消息“您的浏览器忽略了APPLET标签”或同等效果。我使用的是32位JRE,因为我开发了一些基于JMF(仅与32位JRE兼容)的软件。