Note that there are some explanatory texts on larger screens.

plurals
  1. POI can't add epubcheck jar to my code in netbeans
    primarykey
    data
    text
    <p>In the folder Libraries I added the folder that contains the jar file of epubcheck (<a href="http://code.google.com/p/epubcheck/" rel="nofollow noreferrer">http://code.google.com/p/epubcheck/</a>). But for some reason it does not work.</p> <p>I also added this line of code:</p> <pre><code>import com.adobe.epubcheck.api; </code></pre> <p>Am I missing something?</p> <p><img src="https://i.stack.imgur.com/3m5GO.jpg" alt="enter image description here"> <img src="https://i.stack.imgur.com/eljgv.png" alt="enter image description here"></p> <p><strong>UPDATE</strong></p> <p>Even with all the jars in the Libraries folder... It still does not work.</p> <p><img src="https://i.stack.imgur.com/mGfep.png" alt="enter image description here"></p> <p>Here is the instructions for adding lib to the code from epubchecker README:</p> <blockquote> <p>USING AS A LIBRARY</p> <p>You can also use EpubCheck as a library in your Java application. EpubCheck public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck class can be used to instantiate a validation engine. Use one of its constructors and then call validate() method. Report is an interface that you can implement to get a list of the errors and warnings reported by the validation engine (instead of the error list being printed out).</p> </blockquote> <p><strong>OUTPUT</strong></p> <pre><code>deps-jar: Created dir: /Users/.../NetBeansProjects/epubValidation/build Updating property file: /Users/.../NetBeansProjects/epubValidation/build/built-jar.properties Created dir: /Users/.../NetBeansProjects/epubValidation/build/classes Created dir: /Users/.../NetBeansProjects/epubValidation/build/empty Created dir: /Users/.../NetBeansProjects/epubValidation/build/generated-sources/ap-source-output Compiling 1 source file to /Users/.../NetBeansProjects/epubValidation/build/classes /Users/.../NetBeansProjects/epubValidation/src/epubvalidation/EpubValidation.java:6: package com.adobe.epubcheck does not exist import com.adobe.epubcheck.api; 1 error /Users/.../NetBeansProjects/epubValidation/nbproject/build-impl.xml:915: The following error occurred while executing this line: /Users/.../NetBeansProjects/epubValidation/nbproject/build-impl.xml:268: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 9 seconds) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload