Because the JNI tests use C code, it is not possible to define their compilation in a platform-independent way. Therefore, you must compile and link the JNI tests before running them within JavaTest. These files must be compiled so they can be loaded by calling the System.loadLibrary("jckjni") method on your platform.

Place the library in a directory that is accessible when you run the tests.

Note
JNI test setup is described in detail in the "Special Test Setup" chapter of the Java Compatibility Kit User's Guide.