title: How to add Tika to my project classpath?
body: <p>I'm trying to use a Tika class.</p>
  
  <p>I am Following the instructions here: <a href="https://tika.apache.org/1.6/gettingstarted.html" rel="nofollow">https://tika.apache.org/1.6/gettingstarted.html</a></p>
  
  <p>I'm on OS X, and I'm using Eclipse 4.5.1 Mars 1.</p>
  
  <p>The jar files have been built, and I don't understand how to make those classes available in my class. I don't know what they mean by 'as a Maven dependency' vs 'in an Ant project'</p>
  
  <p>I've added  tika-core-1.11.jar tika-parsers-1.11.jar in Project Properties / Build Path / Libraries</p>
  
  <p>The code is:</p>
  
  <pre><code>import org.apache.tika.exception.TikaException;
  import org.apache.tika.metadata.Metadata;
  import org.apache.tika.mime.MediaType;
  import org.apache.tika.parser.ParseContext;
  import org.apache.tika.parser.AbstractParser;
  import org.apache.tika.sax.XHTMLContentHandler;
  import org.xml.sax.ContentHandler;
  import org.xml.sax.SAXException;
  ...
  {... AutoDetectParser parser = new AutoDetectParser(); ... }
  </code></pre>
  
  <p>but </p>
  
  <pre><code>Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
  AutoDetectParser cannot be resolved to a type
  </code></pre>
  
  <p>How to make those classes known to the compiler ?</p>