Eclipse 无法启动错误 13 [英] Eclipse Will Not Start Error 13

查看:34
本文介绍了Eclipse 无法启动错误 13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse 工作了好几个月,突然间我在尝试启动时收到错误代码 13.搜索表明这是由于java的不兼容位".我已经下载了一个新的 eclipse 副本,卸载了所有的 java 副本,重新安装了 x64 &运行 eclipse x64,卸载 &尝试使用 32 位 eclipse 和 x86所有其他可能的组合.

Eclipse worked fine for months, all of a sudden I'm getting error code 13 when trying to start. Searches indicated this was from incompatible "bitness" of java. I've since downloaded a new copy of eclipse, uninstalled all copies of java, reinstalled just x64 & run eclipse x64, uninstalled & tried x86 with 32 bit eclipse & every other possible combination.

现在,如果我在本地运行带有自己的 JDK 文件夹副本的 eclipse,如果我将 32 位 java 与 32 位 eclipse 一起使用,我会得到错误代码 13,或者如果我使用 64,则无法加载 JNI 共享库"位拷贝.

Right now if I run eclipse with its own copy of the JDK folder locally I either get error code 13 if I use 32 bit java with 32 bit eclipse, or "Failed to load the JNI Shared library" if I use the 64 bit copy.

推荐答案

是的,我已经读过 &尝试了所有这些.

Yeah, I'd already read & tried all of that.

解决方案绝对是荒谬的:我注意到当我尝试通过浏览器验证 java 时,我得到的只是一个灰色框,而其他页面上的 java 小程序失败了.经过几个小时的疯狂之后,我注意到我的其他应用也遇到了一些网络问题.

The solution was absolutely ridiculous: I noticed when I tried to verify java via browser all I was getting was a grey box, and java applets on other pages were failing. After hours of insanity I noticed I was having some network issues with other apps as well.

结果是 HKEY_LOCAL_MACHINESYSTEMControlSet001servicesTcpipParametersInterfaces{(my interface id)} 上的权限错误导致 Java 在系统中运行任何应用程序的系统中的任何用户全局崩溃.

Turns out a permissions error on HKEY_LOCAL_MACHINESYSTEMControlSet001servicesTcpipParametersInterfaces{(my interface id)} caused Java to crash globally for any user in the system running any app in the system.

这导致了诸如

NoClassDefFoundError无法初始化类 sun.security.provider.SecureRandom$SeederHolder

NoClassDefFoundError Could not initialize class sun.security.provider.SecureRandom$SeederHolder

这个界面甚至没有被使用&实际上不再存在,但是当我尝试打开密钥时,我收到了拒绝访问错误.在我拥有这把钥匙之后&删除它java再次在任何地方工作.

This interface wasn't even in use & in fact didn't exist any more, but when I tried to open the key I got an Access Denied error. After I took ownership of this key & deleted it java works everywhere again.

这篇关于Eclipse 无法启动错误 13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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