简体   繁体   English

错误 - Java 运行时环境 6 版本 1.6.0

[英]Error - Java Runtime Environment 6 version 1.6.0

I have installed Java Runtime Environment 6 version 1.6.0 (jre-6-windows-i586.exe) on Windows 7 Pro 64 bits.我已经在 Windows 7 Pro 64 位上安装了 Java Runtime Environment 6 版本 1.6.0 (jre-6-windows-i586.exe)。

When I open the command line and type java -version , i'm getting the following error message:当我打开命令行并输入java -version 时,我收到以下错误消息:

The procedure entry point _wcstoui64 could not be located in the dynamic link library msvcrt.dll在动态链接库 msvcrt.dll 中找不到过程入口点 _wcstoui64

在此处输入图片说明

I click the button OK, then I got the following error message:我单击“确定”按钮,然后收到以下错误消息:

The procedure entry point strncpy_s could not be located in the dynamic link library msvcrt.dll无法在动态链接库 msvcrt.dll 中找到过程入口点 strncpy_s

在此处输入图片说明

How to fix these 2 errors messages ?如何修复这 2 个错误消息?

Note: I'm getting these error messages only on my computer at work.注意:我只在工作中的计算机上收到这些错误消息。 However, I installed the same version JRE on my desktop at home (Windows 7 Pro 64 bits) and it's working fine.但是,我在家里的桌面上安装了相同版本的 JRE(Windows 7 Pro 64 位)并且运行良好。

Actually, jre-6-windows-i586.exe is the 32-bits version.实际上, jre-6-windows-i586.exe是 32 位版本。

Installing the 64-bits version ( jdk-6-windows-x64.exe ) may solve your problem.安装 64 位版本 ( jdk-6-windows-x64.exe ) 可能会解决您的问题。

Your original msvcrt.dll was propably replaced by a 3rd party software (new installed software or malware/virus).您原来的 msvcrt.dll 可能被 3rd 方软件(新安装的软件或恶意软件/病毒)所取代。 You can try to restore msvcrt.dll by either opening a command prompt as administrator and run sfc /scannow or by restoring a previous system state.您可以尝试通过以管理员身份打开命令提示符并运行sfc /scannow或通过恢复以前的系统状态来恢复 msvcrt.dll。 Other hints can be found here .其他提示可以在这里找到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM