Skip to main content

Sorry unable to load libcobjvm_java2

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Error occurs on Solaris 10 with  Java 1.4.2

Trying to run cobjrun:

Sorry unable to load libcobjvm_java2

If libcobjvm_java2 is on shared library PATH, then ensure

'libjava' and 'java' are found on the PATH/Shared Library PATH.  

Resolution:

This was caused by a problem with the LD_LIBRARY_PATH  related to Java 1.4.2_X:

First export JAVA_HOME to point to the Java directory.

Then run the Server Express COBOL/Java setup utility.

$COBDIR/bin/cobsje -v

This resolves the problem.

Old KB# 4506