To install the JVM COBOL run-time system (mfcobolrts.jar) in WebSphere 8.5 or later, you can add it as a shared library either through the application server management console or from the wsadmin command line utility.
To install the JVM COBOL run-time system, refer to the IBM documentation for instructions on creating and managing a shared library:
wsadmin –lang jython –c AdminResources.createSharedLibrary("SERVER_NODE_NAME"
,"SERVER_NAME","mfcobolrts","PATH\mfcobolrts.jar”)
Replace SERVER_NODE_NAME and SERVER_NAME with details supplied by the administrator of the application server. Replace PATH with the path that you used in the previous step.
In Eclipse, in the project that will be deployed, in the META-INF directory, add a MANIFEST.MF file, that contains the following:
Manifest-Version: 1.0 Extension-Name: mfcobolrts Specification-Title: Micro Focus COBOL JVM Runtime System Specification-Version: 2.3 Specification-Vendor: microfocus.com Implementation-Version: 2.3
wsadmin –lang jython -c AdminConfig.remove(AdminConfig.getid('/Library:mfcobolrts'))