title: How do I fully include the Batik library in my Java project?
body: <p>I am trying to add the Batik library to my Java project. I added the unzipped binary to my lib folder, and added all of the JARs in the top level to the build path. </p>
  
  <p><a href="https://i.stack.imgur.com/0AmBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0AmBP.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/KXFf9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KXFf9.png" alt="enter image description here"></a></p>
  
  <p>However, when I make the following <code>import</code> statement: </p>
  
  <p><code>import org.apache.batik.dom.svg.SAXSVGDocumentFactory;</code> I get the following error: </p>
  
  <p>"The import org.apache.batik.dom.svg.SAXSVGDocumentFactory cannot be resolved"</p>
  
  <p>Other import statements do not exhibit this problem, such as the following: </p>
  
  <p><code>import org.apache.batik.util.XMLResourceDescriptor;</code></p>
  
  <p>As far as I understand, the <code>SAXSVGDocumentFactory</code> class exist somewhere in the binary I added to the lib folder, so the issue must be with adding JARs to the build path. How can I make sure that all of the Batik source files are added to the build path correctly and are usable?</p>