jdk1.7.0_79如何install/configureiText7

Jdk1.7.0_79 how to install/configure iText7

我已经下载了 itext7(创建 API 的 PDF)并希望能够在我的 java 程序中使用它。

当我编译它时,我在来自 iText 的代码的每一部分都得到了 "cannot find symbol",所以我猜它没有在 CLASSPATH 中设置。

我是这样说的: SET CLASSPATH =%CLASSPATH% ;.\lib.jar (因为我把所有的 itext jar 放在 \lib 中)

但这并不能解决我的问题。 谁能帮帮我?

非常感谢

编译时出现以下错误:

您找到的示例程序 here is obsolete. I have tried the same in my PC and have the same problem what you had. Plz refer this inhouse documentation for developers 由 iText 为版本 7 提供。

谢谢。

我使用 Eclipse 并将 iText7 作为外部 jar 导入解决了这个问题,我不想这样做,但是....似乎没有其他方法