为什么Java 7的失败成功安装JRE后验证 - Java 7的运行没有任何我的浏览器 [英] Why does Java 7 fail to Verify after successful JRE installation - Java 7 not running my any browser

查看:591
本文介绍了为什么Java 7的失败成功安装JRE后验证 - Java 7的运行没有任何我的浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题是干吗老盯住我了好几天,直到我发现了几乎整整一个答案,但我想先分享问题:

This question was dogging me for a few days until I found almost a full answer but I want to share the issue first:

问题

我有一个Windows 7专业版64位的笔记本电脑,同时支持IPv4和IPv6(后来很重要)
我下载并安装最新的Java 7ü51的jre /浏览器插件,并会始终获得一个灰色的小程序对话框之前它最终重定向并说:验证失败,如果已安装的Java。

I have a Windows 7 pro 64 bit laptop that supports both IPv4 and IPv6 (important later) I downloaded and installed the latest Java 7 u 51 jre / browser plugin and would always get a grey applet box before it would eventually redirect and say "failed to verify" if java was installed.

我也是一个Java开发人员,不得不安装了几个版本的JDK和JRE中。我以为这是我的环境我做了一个完整的从我的系统擦拭的Jave的(我跑JavaRa并去除确信一切 HTTP ://singularlabs.com/software/javara/

I am also a java developer and had a few JDKs installed as well as jres. Thinking it was my environment I did a complete wipe of jave from my system (I ran JavaRa and made sure everything was removed http://singularlabs.com/software/javara/)

我安装了JRE为镀铬插件32位版本,并确保所有的设置和安全信息是正确的(根据很多帖子这个话题)。

I installed the 32 bit version of the JRE for the chrome plugin and made sure all the setting and security info was correct (per the many posts about this topic).

清除所有缓存(浏览器和Java),通过我的防火墙打孔(甚至禁用它,看看是否会解决这个问题),以及运行事情管理员,安装验证Java和我所有的浏览器运行后(这失败在IE,Chrome和FF)

After clearing all cache (browser and java), punching holes through my firewall (even disabling it to see if that would resolve it) as well as running things as administrator, verifying java was installed and running in all my browsers (it failed in IE, Chrome and FF)

这一切是每很多帖子提到如何解决Java 7中不以任何浏览器中运行的问题。

All of this was per many posts that said how to solve the issue of Java 7 not running in any browser.

启用完整跟踪和调试通过Java控制面板中的Java控制台后
我终于从控制台中显示的堆栈跟踪一些体面的线索。它未能从Java或有一个applet或JNLP网络启动文件的任何站点获取资源。

After enabling full trace and debugging with the Java console via the Java Control Panel I finally get some decent clues from the stack traces displayed in the console. It was failing to get resources from java or any site that had an applet or jnlp web start file.

推荐答案

SOLUTION

最后,我碰到这个帖子在这里跑(Java 7的32位Windows 7 - Java的Webstart的 - 无法加载资源)

Finally I ran across this post here (Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource)

在加入-Djava.net。preferIPv4Stack = true添加到Java控制面板下的运行参数(Java选项卡,视图)当前JRE,它解决了这个问题。我能到我的安全设置恢复到适当水平,并能够运行Java验证测试,以及其他小程序ASA一堆就好了。

When adding "-Djava.net.preferIPv4Stack=true" to the runtime parameters under the Java Control Panel (java tab, view) for the current JRE, it solved the problem. I was able to restore my security setting to proper levels and was able to run the java verification tests as well asa bunch of other applets just fine.

当凸轮运行JNLP文件,我仍然会得到错误,除非我手动编辑JNLP文件,并将其添加到VM ARGS即。

When it cam to running jnlp files, I would still get errors unless I manually edit the jnlp file and add it to the vm args i.e.

如果你想广泛应用此更改系统上,添加 _JAVA_OPTIONS 环境变量,并添加 -Djava.net。preferIPv4Stack = TRUE 以它

If you want to apply this change system wide, add the _JAVA_OPTIONS environment variable and add -Djava.net.preferIPv4Stack=true to it

问候,肖恩Recinto

Regards, Shawn Recinto

这篇关于为什么Java 7的失败成功安装JRE后验证 - Java 7的运行没有任何我的浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆