You must use a directory that is accessible when running tests. The compiled JMX test library is loaded on your platform by calling the System.loadLibrary("libname") method where "libname" is the appropriate library name.
JMX test setup is described in detail in the "Test-Specific Information" chapter of the Java Compatibility Kit User's Guide.