I'm attempting to get the CobolCallingJava example for ACUCOBOL-GT version 126.96.36.199 working. When running the example, I get the following error for each occurrence of CALL C$"JAVA":
Java dynamic init failed.
It is the same error message as described in the following Wiki article, but in our case we're running this test in Windows 7.
The JDK installed on my PC is jdk1.7.0_17.
The Java-related settings in our COBOL config file are as follows:
My CLASSPATH environment variable = R:\Topps\BIN\CVM.jar;.;
My PATH environment variable includes the Java bin directory, as well as the directory containing jvm.dll, i.e.,
....;C:\Program Files\Java\jdk1.7.0_17\jre\bin;C:\Program Files\Java\jdk1.7.0_17\jre\bin\server;....
My LD_LIBRARY_PATH environment variable = R:\Topps\BIN
The file R:\Topps\BIN\CVM.jar does exist, as does "C:\Program Files\Java\jdk1.7.0_17\jre\bin\server\jvm.dll".
There are no errors when compiling either the Java or the COBOL programs in the example. However, I do get "Java dynamic init failed" at runtime.
What am I missing? Thanks!