javaitextloggerfactory

How do you install iText 7 for Java without Maven or Gradle?


Can someone please list all of the jars/downloads required to get iText running along with links to all of the required external dependencies. Some people can't use maven or gradle. Super confusing. After leaving here I'm going to continue my multi-hour hunt for the required jars. Right now, it's complaining about LoggerFactory.


Solution

  • In order to work with iText 7 latest version, you need to download the following jar files as a dependency. Please note that I have pasted all the jar files of iText 7.2.1 however not all of them are mandatory. At minimum, you must have kernel, io and layout as mandatory however other jar file like barcode will be used only when you have a requirement for it, forms will be used only when you are dealing with forms, sign jar will be used only when u have a requirement for signing.

    1. repository\com\itextpdf\barcodes\7.2.1\barcodes-7.2.1.jar
    2. repository\org\slf4j\slf4j-api\1.7.31\slf4j-api-1.7.31.jar
    3. repository\com\itextpdf\font-asian\7.2.1\font-asian-7.2.1.jar
    4. repository\com\itextpdf\forms\7.2.1\forms-7.2.1.jar
    5. repository\com\itextpdf\hyph\7.2.1\hyph-7.2.1.jar
    6. repository\com\itextpdf\io\7.2.1\io-7.2.1.jar
    7. repository\com\itextpdf\commons\7.2.1\commons-7.2.1.jar
    8. repository\com\itextpdf\kernel\7.2.1\kernel-7.2.1.jar
    9. repository\org\bouncycastle\bcpkix-jdk15on\1.69\bcpkix-jdk15on-1.69.jar
    10. repository\org\bouncycastle\bcutil-jdk15on\1.69\bcutil-jdk15on-1.69.jar
    11. repository\org\bouncycastle\bcprov-jdk15on\1.69\bcprov-jdk15on-1.69.jar
    12. repository\com\itextpdf\layout\7.2.1\layout-7.2.1.jar
    13. repository\com\itextpdf\pdfa\7.2.1\pdfa-7.2.1.jar
    14. repository\com\itextpdf\sign\7.2.1\sign-7.2.1.jar
    15. repository\com\itextpdf\styled-xml-parser\7.2.1\styled-xml-parser-7.2.1.jar
    16. repository\com\itextpdf\svg\7.2.1\svg-7.2.1.jar