Making examples.java work

Help
Locke
2007-02-06
2013-04-29
  • Locke
    Locke
    2007-02-06

    Hi Folks,

    Kindly help me, I should use JWNL in my thesis, my problem is that when I try running examples.class (file included in JWNL), I get these JUNIT Test Result Errors:

    java.lang.NumberFormatException: For input string: "NUMBER_OF_VERB_FRAMES"
            at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
            at java.lang.Integer.parseInt(Integer.java:447)
            at java.lang.Integer.parseInt(Integer.java:497)
            at net.didion.jwnl.data.VerbFrame.initialize(VerbFrame.java:22)
            at net.didion.jwnl.JWNL.initialize(JWNL.java:131)
            at controller.Examples.main(Examples.java:45)
    Picked up _JAVA_OPTIONS: -Dsun.java2d.d3d=false
    Java Result: -1

    I'm using Wordnet 2.0 and Netbeans 5.5 Platform on a Windows XP OS.