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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s