The native iSeries™ JGSS provider must be able to access classes in IBM® Toolbox for Java™. Use one of the following options to enable IBM JGSS to access the Toolbox for Java jt400Native.jar file:
Notes:
To place a link to the jt400Native.jar file in the Java extenstion directory, on an iSeries command line, type the following command (on a single line) and press ENTER:
ADDLNK OBJ('/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar') NEWLNK('${java.home}/lib/ext/jt400Native.jar')
To link the jt400Native.jar file to your own directory, on an iSeries command line, type the following command (on a single line) and press ENTER:
ADDLNK OBJ('/QIBM/ProdData/OS400/jt400/lib/jt400Native.jar') NEWLNK('<your extension directory>/jt400Native.jar')
When calling your program, use the following format for the Java command:
java -Djava.ext.dirs=<your extension directory>:${java.home}/lib/ext:/QIBM/UserData/Java400/ext