The default behavior of the Java virtual machine forbids you from downloading native libraries across the network, since the code they contain cannot be controlled by the usual Java security mechanism. If the classes you wish to download are bundled with native libraries, you will need to instantiate a custom security manager.
The Java Dynamic Management Kit provides a simple implementation of a security manager, called com.sun.jdmk.AgentSecurityManager, which accepts all incoming libraries. This security manager extends the java.lang.SecurityManager interface, and you must install it as the default security manager for your agent application.
Before your agent instantiates the MLetSrv class it must set the security manager in the Java virtual machine. This is done with the following call:
import com.sun.jdmk.AgentSecurityManager; System.setSecurityManager(new AgentSecurityManager());