Hello I'm trying to invoke a cobol program from a java class.
Following suggestion in
Presentation material for 2006 Guide/SHARE Europe Nordic session S09
I wrote a Cobol OO wrapper to obtain:
java---> Cobol OO ---> COBOL
(I'm running cobol enterprise v4R2 and java 6.0.1)
But at runeime I get
java.lang.UnsatisfiedLinkError: c_to_cobol (Not found in java.library.path)
I'm not able to find c_to_cobol
This topic has been locked.
Pinned topic Invoking Cobol from java
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-22T14:58:20Z at 2013-01-22T14:58:20Z by brataj
SystemAdmin 110000D4XK403 Posts
Re: Invoking Cobol from java2013-01-22T14:58:20Z in response to SystemAdminMy wording was a bit sloppy, I intended to to say "the Cobol OO part has not been linked as an executable named libc_to_cobol.so".
But then I'm assuming that your illustration "java ---> Cobol OO ---> COBOL" is literally correct and you're calling Cobol code directly from Java as a native method, and there's no other (C?) code involved.
In any case, there's no libc_to_cobol.so provided by the operating system, C or Cobol, perhaps it's creation is mentioned in the SHARE presentation.