System.loadLibrary("libname") method where "libname" is the appropriate library name (for example, "jckjni" for JNI tests or "jckatr" for extra-attribute tests).
JNI test setup is described in detail in the "Test-Specific Information" chapter of the Java Compatibility Kit User's Guide.