Some Problem When Using JWNL(partII)

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

    hi,
    after trying Examples.java,
    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(useWordnet.java:23)

    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~

       

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

Sign up for the SourceForge newsletter:





No, thanks