Skip to main content

We would like to call a COBOL DLL from a Java Class compiled in Java jdk1.8.0_40. We have the mfcobol.jar from our NetExpress 5.1 environment (5.106.0079) - Windows 7 (6.1 Build 7601) Service Pack 1.

The DLL is compiled with SERIAL directive and linked as Shared, Dynamic and Single-threaded.

We get an Unsatisfied link error when calling the DLL from Java.

Do we need a Jar - mfcobol.jar - that is JRE 1.8 compatible?

 


#mfcobol.jar
#JavaClass
#jdk1.8

We would like to call a COBOL DLL from a Java Class compiled in Java jdk1.8.0_40. We have the mfcobol.jar from our NetExpress 5.1 environment (5.106.0079) - Windows 7 (6.1 Build 7601) Service Pack 1.

The DLL is compiled with SERIAL directive and linked as Shared, Dynamic and Single-threaded.

We get an Unsatisfied link error when calling the DLL from Java.

Do we need a Jar - mfcobol.jar - that is JRE 1.8 compatible?

 


#mfcobol.jar
#JavaClass
#jdk1.8

To add to the above:

The actual error is:

java.lang.UnsatisfiedLinkError: COBOL Runtime - unsupported JVM

com.microfocus.cobol.RuntimeSystem.<clinit>(Unknown Source)


We would like to call a COBOL DLL from a Java Class compiled in Java jdk1.8.0_40. We have the mfcobol.jar from our NetExpress 5.1 environment (5.106.0079) - Windows 7 (6.1 Build 7601) Service Pack 1.

The DLL is compiled with SERIAL directive and linked as Shared, Dynamic and Single-threaded.

We get an Unsatisfied link error when calling the DLL from Java.

Do we need a Jar - mfcobol.jar - that is JRE 1.8 compatible?

 


#mfcobol.jar
#JavaClass
#jdk1.8

Hi DSOANS, Net Express does not currently support Java 1.8 but we are looking into that for a future release.

1.8 is currently supported under Visual COBOL. If you'd like to discuss this further, please contact me and we can arrange a meeting to talk through the details.

Regards, Scot


We would like to call a COBOL DLL from a Java Class compiled in Java jdk1.8.0_40. We have the mfcobol.jar from our NetExpress 5.1 environment (5.106.0079) - Windows 7 (6.1 Build 7601) Service Pack 1.

The DLL is compiled with SERIAL directive and linked as Shared, Dynamic and Single-threaded.

We get an Unsatisfied link error when calling the DLL from Java.

Do we need a Jar - mfcobol.jar - that is JRE 1.8 compatible?

 


#mfcobol.jar
#JavaClass
#jdk1.8

Thank you Scot - I do have time to discuss this now - I did open a ticket with Microfocus - 2831385. I was not sure how to call you direct.

Our Architects believe we should be able to call a 1.6 jar from a 1.8 executable but not the other way around so would like to discuss any workarounds.