Hi I am new to Drmaa and trying to work on it for a project . I have installed drmaa.jar from this location http://www.java2s.com/Code/Jar/d/Downloaddrmaajar.htm in my eclipse and tried a simple project : Try.java :
import org.ggf.drmaa.*;
public class Try {
public static void main(String[] args) throws DrmaaException {
// TODO Auto-generated method stub
SessionFactory factory = SessionFactory.getFactory();
Session session = factory.getSession();
session.init("abc ");
session.exit();
}
}
When I run this program I get the below error :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no DrmaaJNI in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.ggf.drmaa.DrmaaJNI.<clinit>(DrmaaJNI.java:89)
at org.ggf.drmaa.GridWaySession.<init>(GridWaySession.java:81)
at org.ggf.drmaa.GridWaySessionFactory.getSession(GridWaySessionFactory.java:33)
at Example.Try.main(Try.java:10)
Can anyone please help me fix it as I am new to this and I have googled about it but couldnt get sufficient information . Thanks . I just want to fix this problem so anyone please help .