resolved problem with setting the java.library.path property at runtime.