[DRMAA-WG] Exception during run
santosh k
santuapsce at gmail.com
Thu Apr 29 06:30:01 CDT 2010
HI,
I downloaded the drmaa.jar from :
http://gridengine.sunsource.net/servlets/ProjectDocumentList?folderID=15&expandFolder=15&folderID=0
And i tried runnning a simple java code which imports the drmaa
package,which was downloaded from gridway.org :
*import org.ggf.drmaa.*;
import java.util.*;
public class Howto1
{
public static void main (String[] args)
{
SessionFactory factory = SessionFactory.getFactory();
Session session = factory.getSession();
try
{
session.init(null);
System.out.println("Session Init success");
System.out.println ("\t DRMAA version " + session.getVersion());
session.exit();
System.out.println("Session Exit success");
}
catch (DrmaaException e)
{
e.printStackTrace();
}
}
}*
But when i ran the java code,it gave me an exception:
*
Exception in thread "main" java.lang.NoClassDefFoundError:
org/ggf/drmaa/DrmaaException*
Please suggest a suitable solution
Regards
Santosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/drmaa-wg/attachments/20100429/a361bbc3/attachment.html
More information about the drmaa-wg
mailing list