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

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

[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

 

目录
相关文章
|
9月前
|
Java Shell Maven
【Azure Container App】构建Java应用镜像时候遇无法编译错误:ERROR [build 10/10] RUN ./mvnw.cmd dependency:go-offline -B -Dproduction package
在部署Java应用到Azure Container App时,构建镜像过程中出现错误:“./mvnw.cmd: No such file or directory”。尽管项目根目录包含mvnw和mvnw.cmd文件,但依然报错。问题出现在Dockerfile构建阶段执行`./mvnw dependency:go-offline`命令时,系统提示找不到可执行文件。经过排查,确认是mvnw文件内容异常所致。最终通过重新生成mvnw文件解决该问题,镜像成功构建。
495 1
|
11月前
|
Java
Java 中 Exception 和 Error 的区别
在 Java 中,`Exception` 和 `Error` 都是 `Throwable` 的子类,用于表示程序运行时的异常情况。`Exception` 表示可被捕获和处理的异常,分为受检异常(Checked)和非受检异常(Unchecked),通常用于程序级别的错误处理。而 `Error` 表示严重的系统级问题,如内存不足或 JVM 错误,一般不建议捕获和处理。编写程序时应重点关注 `Exception` 的处理,确保程序稳定性。
333 0
|
Java Windows
【Azure Function】部署Java Function失败:报错deploy [ERROR] Status code 401和警告 'China North 3' may not be a valid region
1:deploy [ERROR] Status code 401, (empty body). 2: China North 3 may not be a valid region,please refer to https://aka.ms/maven_function_configuration#supported-regions for values. 3:  <azure.functions.maven.plugin.version>1.36.0</azure.functions.maven.plugin.version>
397 11
|
Java Android开发
Eclipse Java 构建路径
Eclipse Java 构建路径
207 3
|
Java
让星星⭐月亮告诉你,Java异常分类[Throwable(Error/Exception(RuntimeException/其他异常)) 检查时异常 非检查时异常]
本文深入解析了Java异常处理机制,重点介绍了`Throwable`类及其子类`Error`和`Exception`,并通过实例代码、流程图和表格详细解释了异常的分类、区别及处理方法,帮助读者掌握异常处理的关键技巧,提升程序的稳定性和健壮性。
392 1
|
Java
Error:java: 无效的目标发行版: 11解决方案
Error:java: 无效的目标发行版: 11解决方案
750 1
|
Oracle Java 关系型数据库
Linux下JDK环境的配置及 bash: /usr/local/java/bin/java: cannot execute binary file: exec format error问题的解决
如果遇到"exec format error"问题,文章建议先检查Linux操作系统是32位还是64位,并确保安装了与系统匹配的JDK版本。如果系统是64位的,但出现了错误,可能是因为下载了错误的JDK版本。文章提供了一个链接,指向Oracle官网上的JDK 17 Linux版本下载页面,并附有截图说明。
Linux下JDK环境的配置及 bash: /usr/local/java/bin/java: cannot execute binary file: exec format error问题的解决
|
Rust Java 文件存储
Java系统中的错误码设计问题之通过properties文件管理Error Code如何解决
Java系统中的错误码设计问题之通过properties文件管理Error Code如何解决
282 1
|
Oracle Java 关系型数据库
简单记录在Linux上安装JDK环境的步骤,以及解决运行Java程序时出现Error Could not find or load main class XXX问题
本文记录了在Linux系统上安装JDK环境的步骤,并提供了解决运行Java程序时出现的"Error Could not find or load main class XXX"问题的方案,主要是通过重新配置和刷新JDK环境变量来解决。
1239 0