Java viewer在JRE 1.7.0.21更新后不工作
我正在使用java viewer小程序在.NET应用程序中查看图像 它一直工作到最新的JRE更新。 更新java的每个客户端在所有浏览器中都会抛出以下错误: 详情如下:Java viewer在JRE 1.7.0.21更新后不工作,java,Java,我正在使用java viewer小程序在.NET应用程序中查看图像 它一直工作到最新的JRE更新。 更新java的每个客户端在所有浏览器中都会抛出以下错误: 详情如下: Java Plug-in 10.21.2.11 Using JRE version 1.7.0_21-b11 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Administrator ---------------------
Java Plug-in 10.21.2.11 Using JRE version 1.7.0_21-b11 Java
HotSpot(TM) Client VM User home directory = C:\Documents and
Settings\Administrator
---------------------------------------------------- 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 <n>
----------------------------------------------------
Match: beginTraversal Match: digest selected JREDesc: JREDesc[version 1.4+, heap=-1--1, args=-Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null],
JREInfo: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_21
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre7\bin\javaw.exe
args is:
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.21 found at C:\Program Files\Java\jre7\
enabled is: true
registered is: true
system is: true
Match: ignoring maxHeap: -1
Match: ignoring InitHeap: -1
Match: digesting vmargs: -Xmx512m -Dsun.security.ssl.allowUnsafeRenegotiation=true
Match: digested vmargs: [JVMParameters: isSecure: false, args: -Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: selecting maxHeap(2): 536870912
Match: JVM args after accumulation: [JVMParameters: isSecure: false, args:
-Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: digest LaunchDesc: null
Match: digest properties: []
Match: JVM args: [JVMParameters: isSecure: false, args: -Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: endTraversal ..
Match: JVM args final: -Xmx512m -Dsun.security.ssl.allowUnsafeRenegotiation=true
Match: Running JREInfo Version match: 1.7.0.21 == 1.7.0.21
Match: Running JVM args match the secure subset: have:<-Xmx512m> satisfy want:<-Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true>
Match: beginTraversal Match: digest selected JREDesc: JREDesc[version 1.4+, heap=-1--1, args=-Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null],
JREInfo: JREInfo for index 0:
platform is: 1.7
product is: 1.7.0_21
location is: http://java.sun.com/products/autodl/j2se
path is: C:\Program Files\Java\jre7\bin\javaw.exe
args is:
native platform is: Windows, x86 [ x86, 32bit ]
JavaFX runtime is: JavaFX 2.2.21 found at C:\Program Files\Java\jre7\
enabled is: true
registered is: true
system is: true
Match: ignoring maxHeap: -1
Match: ignoring InitHeap: -1
Match: digesting vmargs: -Xmx512m -Dsun.security.ssl.allowUnsafeRenegotiation=true
Match: digested vmargs: [JVMParameters: isSecure: false, args: -Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: selecting maxHeap(2): 536870912
Match: JVM args after accumulation: [JVMParameters: isSecure: false, args:
-Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: digest LaunchDesc: null
Match: digest properties: []
Match: JVM args: [JVMParameters: isSecure: false, args: -Dsun.security.ssl.allowUnsafeRenegotiation=true]
Match: endTraversal ..
Match: JVM args final: -Xmx512m -Dsun.security.ssl.allowUnsafeRenegotiation=true
Match: Running JREInfo Version match: 1.7.0.21 == 1.7.0.21
Match: Running JVM args match the secure subset: have:<-Xmx512m> satisfy want:<-Xmx512m
-Dsun.security.ssl.allowUnsafeRenegotiation=true>
我对这些行进行了注释,现在java没有抛出错误,但是小程序不能正常工作,因为它没有加载应有的图像
因为我没有开发这个应用程序,所以我希望您能给我一些提示,告诉我如何保持这个功能并纠正在新的JRE 1.7更新21之后引发的异常
请帮帮我 以下任何一项是否正确: 1通过上面的输出,使用SSL的Web服务器看起来是正确的,只是想确认一下 2 Web服务器FQDN与地址栏URL中的主机名不匹配,即使用DNS别名
如果2为true,则在地址栏中使用FQDN而不是别名时是否有效?是否符合以下任一条件: 1通过上面的输出,使用SSL的Web服务器看起来是正确的,只是想确认一下 2 Web服务器FQDN与地址栏URL中的主机名不匹配,即使用DNS别名
如果2为true,则在地址栏中使用FQDN而不是别名时,它是否起作用?尝试使用来自可信证书颁发机构的证书对小程序进行签名。查看更多信息: 从2013年4月的JavaSE7更新21开始,所有Java小程序和 Web Start应用程序应使用可信证书进行签名
尝试使用来自可信证书颁发机构的证书对小程序进行签名。查看更多信息: 从2013年4月的JavaSE7更新21开始,所有Java小程序和 Web Start应用程序应使用可信证书进行签名
转到控制面板,打开Java控制面板,转到安全选项卡并降低它
完成。转到控制面板,打开Java控制面板,转到安全选项卡并降低它
完成。您需要提供stacktrace。上次我更新Java时,我的应用程序出了问题。重要寓意:始终使用最后建造的马厩。这意味着,在生产中使用Java6。问题是客户端更新了Java。。。我通常禁用自动更新,但一些IT人员倾向于更改它。。。。现在我完蛋了。有了这些信息,没人能帮你。请提供日志或堆栈跟踪可能会有所帮助。这与静态块有关,你需要提供一个stacktrace。上次我更新Java时,我的应用程序搞砸了。重要寓意:始终使用最后建造的马厩。这意味着,在生产中使用Java6。问题是客户端更新了Java。。。我通常禁用自动更新,但一些IT人员倾向于更改它。。。。现在我完蛋了。有了这些信息,没人能帮你。请提供日志或堆栈跟踪可能会有所帮助。这与静态块有关
static {
// This gets rid of exception for not using native acceleration
System.setProperty("com.sun.media.jai.disableMediaLib", "true");
System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true");
}