The LD_LIBRARY_PATH (linux) has reference to the libraries libsmjavaagentapi.so, libsmerrlog.so, and libsmcommonutil.so;
Ensure that can the JNI Java AgentAPI JAR file can be located when compiling or running an Agent that uses the Java Agent API. The JAR file is smjavaagentapi.jar;
Compile the Java Agent API application using javac. For an example, see java-build.bat or java-build.sh in the sample directory smjavaagentapi (1).