ACC v7 error: “JVM-510037 Cannot find the Java dynamic library.”
Last update: March 6, 2024
There are 2 solutions: you can either manually add the JavaSoft key to the Windows registry under Computer\HKEY_LOCAL_MACHINE\SOFTWARE, or you can use two Windows environment variables can be defined to indicate where the jvm.dll file can be found by the Web module.
Description
Environment
Adobe Campaign Classic v7 (ACC v7)
Issues/Symptoms
Use case - This issue occurred replacing Oracle JDK with Open JDK on Campaign instances running on Windows.
The example case had Oracle JDK v1.8.0.191 installed on all Windows Campaign instances. After replacing Oracle JDK with Open JDK in one of their Campaign instances, the WEB failed to start and gave the following error:
JVM-510037 Cannot find the Java dynamic library. Check that a JDK or a JRE is installed on the machine. (iRc=-53)
However, Java is correctly installed with the right Path and JAVA_HOME environment variables.
Resolution
In order to run the Web module, the JVM dynamic library must be visible to Campaign. By removing Oracle JDK, the JavaSoft key from the Windows registry is removed and any references to that JVM library is also lost.
There are 2 solutions to resolve this issue:
Solution #1
You can manually add the JavaSoft key to the Windows registry under Computer\HKEY_LOCAL_MACHINE\SOFTWARE.
Here’s an example (with OpenJDK 1.8_292) of what you need to add: