[DRMAA-WG] Exception during run
Peter Tröger
peter at troeger.eu
Thu Apr 29 07:31:21 CDT 2010
Hi Santosh,
this is the mailing list for the DRMAA API specification, so you basically ask the wrong people. You should look out for the Sun Grid Engine support channels.
From my basic Java knowledge, it looks like you didn't add the drmaa.jar to the classpath.
Best,
Peter.
Am 29.04.2010 um 13:30 schrieb santosh k:
> 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
>
> --
> drmaa-wg mailing list
> drmaa-wg at ogf.org
> http://www.ogf.org/mailman/listinfo/drmaa-wg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/drmaa-wg/attachments/20100429/fa931e39/attachment.html
More information about the drmaa-wg
mailing list