You must use a directory that is accessible when running tests. The compiled JNI test libraries are loaded on your platform by calling the System.loadLibrary("libname") method where "libname" is the appropriate library name (for example, "jckjni" for JNI tests or "jckatr" for extra-attribute tests).

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