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.
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.