jericho-html-3.3.jar cannot execute binary

Help
JRene
2012-12-27
2013-01-03
  • JRene
    JRene
    2012-12-27

    I'm trying to verify that Jericho 3.3 is installed correctly by running their test functions.

    According to the instructions for jericho html 3.3 (http://jericho.htmlparser.net/docs/index.html), I should be able (on UNIX system) to run the command "java -classpath classes;../dist/jericho-html-3.3.jar DisplayAllElements" from the samples/console directory.

    First of all,  from the samples/console directory, the jar file is one directory up with this release (../../dist/jericho-html-3.3.jar).

    Secondly, compensating for this, the above command still gives the error "-bash: ../../dist/jericho-html-3.3.jar: cannot execute binary file"

    Moving the jar file one directory down doesn't work.

    Is this the right jar file? How would I make a new jar file for this release?

    Thanks, sir

     
  • Martin Jericho
    Martin Jericho
    2012-12-28

    Hi JRene,

    Thanks for pointing out the problems. I have now corrected the instructions.

    Appart from the incorrect path, the instructions were using the Windows path separator (;) instead of the unix separator (:), so swap the semicolon for a colon and it should work.

    Cheers
    Martin

     
  • JRene
    JRene
    2012-12-28

    Thanks!!