tika-user  

Re: Simple implementation help

Jukka Zitting
Thu, 03 Dec 2009 12:53:20 -0800

Hi,

On Thu, Dec 3, 2009 at 9:03 PM, david.stu...@progressivealliance.co.uk
<david.stu...@progressivealliance.co.uk> wrote:
> I compile is javac TikaParseHtml.java then when I run
> the command
> java  -classpath [path to jar dir]/tika-core-0.5.jar TikaParseHtml i.html
>
> should I add other tika jars?

Yes. By itself the tika-core jar only contains the core classes of
Tika but none of the wrappers around the external parser libraries
that are used to do the actual parsing of the various document
formats. See [1] for a description of the various jars and what to
include. The easiest way to get started is simply to replace the
tika-core jar with the tika-app jar that contains everything you need.

[1] http://lucene.apache.org/tika/gettingstarted.html

BR,

Jukka Zitting