Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8u362 has error loading msvcp140.dll #658

Open
pcnchang opened this issue Apr 14, 2023 · 2 comments
Open

8u362 has error loading msvcp140.dll #658

pcnchang opened this issue Apr 14, 2023 · 2 comments

Comments

@pcnchang
Copy link

Hi, for websphere liberty, I can run it wtih 8u352. But for 8u362 it fails with:
Error: loading: (JAVA_HOME)\jre\bin\msvcp140.dll

It happens in Windows server 2016, Windows server 2019.

I compared the msvc140.dll:

8.0.352's msvcp140.dll is 14.16.27003.0
8.0.362's msvcp140.dll is 14.34.31931.0

The following links:
https://communities.bentley.com/products/construction/w/construction__wiki/63182/known-issues---synchro-4d-pro-2022-v6-5-1-5-release

https://developercommunity.visualstudio.com/t/Legacy-applications-may-crash-with-lates/10206804

It seems the version bundled in Semeru runtime has included the bogus DLL.

Is it possible to get this fixed as 8u362.fix or 8u365? Otherwise we have to skip this Semeru runtime from patching.

Strangely this only happens to 8u362. Liberty works fine with 11.0.18 and 17.0.6.

Test case:

  • download websphere liberty 23.0.0.3
  • set JAVA_HOME=YOUR_JAVA
  • run liberty's server command
    e.g. my liberty is in e:\data\liberty. Just run e:\data\liberty\bin\server and it fails.

I am going to create a case with IBM support as well. Thank you very much.

@pshipton
Copy link
Member

You can get the latest redistributable files from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170. I see they are version 14.34.31938.0

@pshipton
Copy link
Member

pshipton commented Apr 14, 2023

The problem is that vcruntime140_1.dll is missing from the package. This has already been resolved for the next release, which is due out in a few weeks. Installing the Microsoft redistributable files on the machine will resolve it, or putting a copy of vcruntime140_1.dll in jre/bin and other places where vmruntime140.dll exists (bin).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants