[Java 7][msvcr100.dll] Error when load Eclipse

本文介绍了一种解决Java 7更新后Eclipse无法加载的问题的方法。问题出现的原因在于系统路径中存在不兼容的MSVCR100.dll文件。临时解决方案为重命名该dll文件,但推荐的做法是遵循正确步骤来解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[Problem] After I updated to Java 7, I could not load Eclipse. Here comes the erros:

Eclipse: eclipse.exe - Bad Image

C:\Windows\system32\MSVCR100.dll is either not designed to run on Windows or it contains an error. Trying installing the program again using the original installation media or ...

Eclipse

Failed to load the JNI shared library "C:\ ....."

 

[Temp Solution]

Disable the MSVCR100.dll in the directory "C:\Windows\system32". Simply rename it to "MSVCR100_backup.dll", and it would be OK if you load Eclipse once again.

The reason is caused by Java 7 which uses its own MSVCR100.dll in its installation directory.

So, when you load Eclipse. Firstly it load JVM. JVM requires the MSVCR100.dll in directory of JAVA 7 instead of "C:\Windows\system32". However, your machine would firstly search the "C:\Windows\system32" and return the inappropriate one. Then the error comes.

By removing the dll from system32, it would return the right MSVCR100.dll from the directory of JAVA 7, then succeed in loading Eclipse.

 

However, this strategy is temp and risky. The following recommends the correct solution.

[Solution] http://www.duckware.com/tech/java6msvcr71.html

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值