Some Problem When Using JWNL

Help
Anonymous
2003-02-27
2003-02-27
  • Anonymous

    Anonymous - 2003-02-27

    hi, I am new for using JWNL and JAVA...
    I use SDK1.4.1 and JWNL1.2.1(for SDK1.4)
    and run the example(Examples.java), then
    I got the result:
    Exception in thread "main" java.lang.NoClassDefFoundError: Examples (wrong name: net/didion/jwnl/utilities/Examples)
            at java.lang.ClassLoader.defineClass0(Native Method)
    ...

    ----------
    Can somebody tell me what is wrong?
    Thanks a lot!

     
    • Michele Lamarca

      Michele Lamarca - 2003-02-27

      Hello,
      try with

      java -cp jwnl.jar:utilities.jar net.didion.jwnl.utilities.Examples file_properties.xml

       
    • Anonymous

      Anonymous - 2003-02-27

      hi,
      I have tried it and it seems works!
      Thank you very much!

      BTW, the instruction you teach me:
      java -cp jwnl.jar:utilities.jar net.didion.jwnl.utilities.Examples file_properties.xml

      should use semicolon, not colon.

       

Log in to post a comment.