The dll is loaded with :
static {
System.loadLibrary("jMath");
}
This seems to be the problem, because for System.loadLibrary() the dll has to be in the Java Library path. As far as I know eclipse does this with with the include path for the native library folder, in this case : C:\eclipse\workspace\jMath\additional. So it works with eclipse. And SLC uses the additional path to include libraries. So the solution would be to have a relative path in the Java code. But how to do that?