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?
One reason for this error is that the folder where the Microsoft C Runtime Library is located is missing from the Path. The ODBC-JDBC Gateway uses the C Runtime Library to launch Java. The C Runtime Library's name is msvcrversion.dll. For example:
-
msvcr71.dll–Or–
msvcr100.dll
To update the Path, search for the C Runtime Library folder on the Easysoft ODBC-JDBC Gateway machine. This is usually 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:
- Use the Windows Taskbar search bar to search for "environment variables."
- Choose Environment Variables in the System Properties dialog box.
- In the System variables list, highlight Path, and the click Edit.
- 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.