I have my own JVM launcher and am wondering if your ZUtil class has a dependency on the way you launch the JVM? I'm getting this exception:
java.lang.UnsatisfiedLinkError: /u/froe/jzos/libjzos14.so: EDC5157I An internal error has occurred..at java.lang.ClassLoader$NativeLibrary.load(Native Method)
.at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2135)
.at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2013)
.at java.lang.Runtime.loadLibrary0(Runtime.java:824)
.at java.lang.System.loadLibrary(System.java:908)
.at com.dovetail.jzos.ZUtil.<clinit>(ZUtil.java:55)
.at string_array_utility.setArray3(string_array_utility.java:56)
ZUtil usage
Be warned,
as for my experience of using this product, the JZOS classes depend on the JZOS launcher. This JVM setup will resolve rather or not JRE 1.3 or 1.4 is currently being used.
Also note, I recommend changing the default region size from 0M to that of size of the max heap size (-Xmx48m) plus 24m, while using the JZOS launcher. This works best at our site.
as for my experience of using this product, the JZOS classes depend on the JZOS launcher. This JVM setup will resolve rather or not JRE 1.3 or 1.4 is currently being used.
Also note, I recommend changing the default region size from 0M to that of size of the max heap size (-Xmx48m) plus 24m, while using the JZOS launcher. This works best at our site.
You should be able to use the ZUtil class without the JZOS Launcher, but it requires the JZOS shared library (dll). The error that you are getting would seem to indicate that the LIBPATH is not set correctly to point to the JZOS shared library. Look at how the JCL for running the JZOS launcher sets this for an example. Make sure that you are pointing to the right library to match the version of the JDK that you are running.