Some Problem When Using JWNL(partII)

  • Anonymous - 2003-02-27

    after trying,
    I try to do a little program using JWNL,
    and simply use statement: JWNL.initialize(new FileInputStream("file_properties.xml"));
    in the program.I can successfully compile it,but when I use: java xxx, to execute the program,it shows,

    Exception in thread "main" java.lang.NoClassDefFoundError: net/didion/jwnl/JWNL at useWordnet.main(

    Do I use the API in wrong way?
    (I'm a new one in Java programming)

    • Anonymous - 2003-02-27

      I think you have to import all the classes properly.

      and run java:

      java -cp <pathtojwnl>:<pathto jwnl.jar useWordNet <word>

    • Anonymous - 2003-03-03

      thank you so much...
      I can solve this problem now~


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks