You can place the compiled libraries for different JCK tests that use native libraries (for example, JMX tests and JNI tests) either in a common location or in separate locations.

Note
Because native libraries use C code, they cannot be compiled in a platform-independent way. You must compile the native libraries for the tests before running them within the JavaTest harness.

Note
Setup for the tests that use native libraries is described in detail in the "Test-Specific Information" chapter of the Java Compatibility Kit User's Guide.