1

嘿,

在 Windows 7-64 位上将我的 java 版本从 6u31 更新到 7u4 后,小程序停止工作。我使用 java-32 位,浏览器也是 32 位(试过 IE9 和 Firefox 12.0),唯一的原因是更新 java.lang. 我使用了来自http://www.java.com/en/download/testjava.jsp的测试,结果如下:

 security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.
 security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
 security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws
 security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
 security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy
 security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
 security: property package.definition value null
 security: property package.definition new value com.sun.javaws
 security: property package.definition value com.sun.javaws
 security: property package.definition new value com.sun.javaws,com.sun.deploy
 security: property package.definition value com.sun.javaws,com.sun.deploy
 security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
 security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
 security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
 security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
 security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
 basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1cc55fb
 basic: Plugin2ClassLoader.addURL parent called for http://www.java.com/applet/TestVM2-test.jar
 network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
 network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
 network: Connecting http://www.java.com:80/ with proxy=DIRECT
 network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
 network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
 network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
 network: Connecting http://www.java.com:80/ with proxy=DIRECT
 network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
 network: Connecting http://www.java.com:80/ with proxy=DIRECT
 java.net.SocketException: Permission denied: connect

 bla bla bla

network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
network: Cache entry not found [url: http://www.java.com/applet/TestVM2-test.jar, version: null]
network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
network: Connecting http://www.java.com/applet/TestVM2-test.jar with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
java.net.SocketException: Permission denied: connect

bla bla bla

network: Cache entry not found [url: http://www.java.com/applet/, version: null]
network: Cache entry not found [url: http://www.java.com/applet/testJava2_1/TestVMApplet.class, version: null]
network: Connecting http://www.java.com/applet/testJava2_1/TestVMApplet.class with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
network: Cache entry not found [url: http://www.java.com/applet/testJava2_1/TestVMApplet/class.class, version: null]
network: Connecting http://www.java.com/applet/testJava2_1/TestVMApplet/class.class with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
java.lang.ClassNotFoundException: testJava2_1.TestVMApplet.class

bla bla bla

basic: load: class testJava2_1/TestVMApplet.class not found.
java.lang.ClassNotFoundException: testJava2_1.TestVMApplet.class

bla bla bla

Ignored exception: java.lang.ClassNotFoundException: testJava2_1.TestVMApplet.class
basic: Dialog type is not candidate for embedding
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1cc55fb
basic: Loading Java Applet Failed...
security: Reset deny session certificate store

我已经尝试了很多不同的选择,比如禁用防火墙、禁用 Java 控制面板上的下一代插件、清除缓存、卸载和重新安装(JRE 和 JDK)、玩混合模式安全验证,也许还有一些我不记得了。我不知道我还能尝试什么让它工作..任何人都经历过同样的事情并解决了它?

啊,作为公司政策,由于安全更新,我们必须尽可能坚持使用最新版本。

4

1 回答 1

1

好的,问题是我在使用 java 访问页面时连接到 VPN (CISCO)。从 Java 7 开始,由于 Ipv6 存在问题(http://jonathangiles.net/blog/?p=1126)。所以我从 VPN 连接中禁用了它,并将这一行添加到 java 运行时参数:-Djava.net.preferIPv4Stack=true

现在它工作正常。

于 2012-06-01T11:57:10.520 回答