Skip to Content.
Sympa Menu

illinois-ml-nlp-users - Re: [Illinois-ml-nlp-users] executing Edision

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

Re: [Illinois-ml-nlp-users] executing Edision


Chronological Thread 
  • From: "Sammons, Mark" <mssammon AT illinois.edu>
  • To: Manisha Divate <divate.manisha.79 AT gmail.com>, "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: Re: [Illinois-ml-nlp-users] executing Edision
  • Date: Thu, 11 Sep 2014 15:45:07 +0000
  • Accept-language: en-US
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

Hi, Manisha. 

You need to add the edison jar and the other jars from the edison dependencies to the classpath. Each entry on the classpath will include the relative path. 

So if you have all the jars including edison in a directory lib/, and assuming you are using a linux-like operating system, it will look a bit like this:

>  java -cp lib/edison-0.5.jar:lib/coreUtilities-0.1.8.jar:...   BasicExample

-- where the "..." indicates the other dependencies, and where the version numbers for edison and coreUtilities will depend on what you downloaded.

If you are using a Windows machine, you can find information about setting the classpath here:

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html

Regards,

Mark



From: illinois-ml-nlp-users-bounces AT cs.uiuc.edu [illinois-ml-nlp-users-bounces AT cs.uiuc.edu] on behalf of Manisha Divate [divate.manisha.79 AT gmail.com]
Sent: Thursday, September 11, 2014 4:13 AM
To: illinois-ml-nlp-users AT cs.uiuc.edu
Subject: [Illinois-ml-nlp-users] executing Edision

Hello,
 
I am trying to execute BasicExample.java from Edision.
I have downloaded all dependancy files as mention in http://cogcomp.cs.illinois.edu/software/edison/
but getting an error
D:\SRL_demo> java BasicExample
   Exception in thread "main" java.lang.NoClassDefFoundError: BasicExample (wrong name: edu/illinois/cs/cogcomp/edison/examples/BasicExample)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:472)
 
 
plz suggest the solution.
 
Regards,
 
Manisha Divate.
 



Archive powered by MHonArc 2.6.16.

Top of Page