Before running the IBM® i5/OS™ PASE native method for Java™ example, you need to prepare your iSeries™ server to run the example. Preparing the server requires copying the files to the server and adding the necessary environment variables to run the example.
To prepare your server, complete the following steps:
mkdir /home/example
addenvvar PASE_THREAD_ATTACH 'Y' addenvvar PASE_LIBPATH '/home/example' addenvvar QIBM_JAVA_PASE_STARTUP '/usr/lib/start32'
Note: When using PASE native methods from an i5/OS PASE terminal session, a 32-bit PASE environment is already started. In this case, set only PASE_THREAD_ATTACH to Y and. PASE_LIBPATH to the path for the PASE native method libraries. In this situation, when you define QIBM_JAVA_PASE_STARTUP, the JVM does not successfully start.
For more information about the added environment variables, see the following topic:
For more information about the IBM i5/OS PASE native method for Java example, see the following topics: