Reputation: 153
I have installed Java Runtime Environment 6 version 1.6.0 (jre-6-windows-i586.exe) on Windows 7 Pro 64 bits.
When I open the command line and type java -version, i'm getting the following error message:
The procedure entry point _wcstoui64 could not be located in the dynamic link library msvcrt.dll
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
How to fix these 2 errors messages ?
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.
Upvotes: 1
Views: 1184
Reputation: 1312
Your original msvcrt.dll was propably replaced by a 3rd party software (new installed software or malware/virus). 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. Other hints can be found here.
Upvotes: 1
Reputation: 611
Actually, jre-6-windows-i586.exe
is the 32-bits version.
Installing the 64-bits version (jdk-6-windows-x64.exe
) may solve your problem.
Upvotes: 1