PASE for i native methods for Java
The IBM® i Java™ virtual machine (JVM) supports the use of native methods running in the PASE for i environment.
Support for PASE for i native methods includes:
- Full use of the native IBM i Java Native Interface (JNI) from PASE for i native methods
- The ability to call PASE for i native methods from the native IBM i JVM
This support enables you to easily port your Java applications that run in AIX® to your server. You can copy the class files and AIX native method libraries to the integrated file system on the server and run them from any of the control language (CL), Qshell or PASE for i terminal session command prompts.
When using PASE for i native methods,
you show take the following in consideration:
- The architecture of the native code needs to match the architecture of the JVM. That is, object binaries need to be compiled as 32-bit binaries for a 32-bit JVM, or as 64-bit binaries for a 64-bit JVM. This also applies to agents (such as user-provided JVMTI agents).