Error: “LoadLibrary failed” when using native DLLs with the Java recorder

Error: "LoadLibrary failed" when using native DLLs with the Java recorder

Native DLLs are DLLs that are written in a different language than Java (mostly C). When recording the application under test that contains these DLLs, the user receives exceptions like: "LoadLibrary failed," etc.

1. Open the recording settings of the required Java protocol (RMI, CORBA).
2. Go to the Java VM tab and add the following to the additional VM parameters:

-Xbootclasspath/p:<installation_dir>\classes;<installation_dir>\classes\srv

3. Copy the native DLLs to the <jre_dir>\bin directory.

Leave a Comment