Easysoft ODBC-JDBC Gateway

I get the error "jvm.dll is not a valid dll" / "Unable to create JVM (Failed to find suitable JAVA VM)". What can I do?

Article:
01020
Last Reviewed:
13th April 2015
Revision:
2

Read this article if you get the following error when testing your Java Virtual Machine (JVM) with the Easysoft ODBC-JDBC Gateway's Configure Java Interface utility:

jvm.dll is not a valid dll

A reason for this error is that the folder where the Microsoft C Runtime Library is located is missing from the path. The Microsoft C Runtime Library is required to launch Java and is called msvcrversion.dll, for example:

To update the Path so that the C Runtime Library can be loaded, determine the path to the folder where this file is located on the Easysoft ODBC-JDBC Gateway machine. This file is usually located in the bin subfolder of the jren folder. For example:

drive:\Program Files\Java\jre6\bin

Or, if you are using the Easysoft ODBC-JDBC Gateway with a 32-bit application on a 64-bit Windows machine:

drive:\Program Files(x86)\Java\jre6\bin

When you have the C Runtime Library folder path, add it to the Path environment variable value:

Updating the Path on Windows 2000, XP, 2003 and 2008
  1. Do one of the following:
    • On Windows 2000, XP, 2003, in Control Panel, double-click System.
    • On Windows 2008, in Control Panel, click System and Security. Click Advanced system settings.
  2. In the Advanced tab, click Environment Variables.
  3. In the System variables list, highlight Path, and the click Edit.
  4. In the Variable value box, add the C Runtime Library folder path to the list of paths.

    Use a semi-colon (;) to separate the C Runtime Library folder path from the existing list of paths.

Updating the Path on Windows Vista, 7, 8 and Server 2012
  1. Do one of the following:
    • On Windows 8 and Server 2012, in Control Panel, click System.
    • On Windows 7, in Control Panel, click System and Security.
    • On Windows Vista, in Control Panel, double-click System.
  2. Do one of the following:
    • On Windows 8, in Control Panel, click Advanced.
    • On Windows Vista, 7 and Server 2012, in Control Panel, click Advanced System Settings.
  3. Click Environment Variables.
  4. In the System variables list, highlight Path, and the click Edit.
  5. In the Variable value box, add the C Runtime Library folder path to the list of paths.

    Use a semi-colon (;) to separate the C Runtime Library folder path from the existing list of paths.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)


Oracle is a registered trademark of Oracle Corporation and/or its affiliates.