 <p>You can't directly add c, c++ or any other natively compiled code into a J2EE application. You need first to create a <a href="http://en.wikipedia.org/wiki/Java_Native_Interface" rel="nofollow">JNI</a> wrapper over these libraries and then add them to the Java application.</p>