简体   繁体   English

JDK1.7.0_79如何安装/配置iText7

[英]Jdk1.7.0_79 how to install/configure iText7

I have downloaded itext7 (PDF creating API) and would like to be able to use it in my java program. 我已经下载了itext7(PDF创建API),并希望能够在我的java程序中使用它。

When I compile it, I get the "cannot find symbol" on each part of the code coming from iText, so I guess that it is not set in CLASSPATH. 当我对其进行编译时,我在来自iText的代码的每一部分上都获得了“找不到符号”,因此我猜它未在CLASSPATH中设置。

I put it like this: SET CLASSPATH =%CLASSPATH% ;.\\lib.jar (because I put all the itext jars in \\lib) 我这样写:SET CLASSPATH =%CLASSPATH%;。\\ lib.jar(因为我将所有itext jar放在\\ lib中)

However this doesn't solve my issue. 但是,这不能解决我的问题。 Anyboday who could help me? 谁能帮助我?

Thank you a lot 非常感谢

Below are the errors got while compiling: 以下是编译时出现的错误:

我获得的错误的屏幕截图

The example program you found here is obsolete. 您在此处找到的示例程序已过时。 I have tried the same in my PC and have the same problem what you had. 我在PC上尝试过相同的操作,但遇到的问题与您相同。 Plz refer this inhouse documentation for developers provided by iText for version 7. iText为版本7提供的开发人员参考此内部文档

Thanks. 谢谢。

我使用Eclipse并将iText7导入为外部jar,解决了我不想做的问题,但是..看来没有其他方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过 iText7 配置断字? - How to configure hyphenation by iText7? 错误 Gradle Build C:\\Program Files\\Java\\jdk1.7.0_79\\bin\\java.exe'' 以非零退出值 1 结束 - Error Gradle Build C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1 错误:任务执行失败:ExecException:进程'命令'C:\\ Program Files \\ Java \\ jdk1.7.0_79 \\ bin \\ java.exe''以非零退出值2结束 - Error:Execution failed for task: ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 2 升级到jdk1.7.0_79和80(仅Linux)后,获取java.lang.Exception:输入的不是X.509证书:keytool错误 - After upgrading to jdk1.7.0_79 and 80 (linux only) getting java.lang.Exception: Input not an X.509 certificate :keytool error ACM 库简单示例不适用于 jdk 1.7.0_79 - ACM Library simple example not working with jdk 1.7.0_79 使用JDK 1.7.0_79的Play Framework 2.2.2发行问题 - Play Framework 2.2.2 with JDK 1.7.0_79 Starting issue 如何在itext7中extendLastCell()? - How to extendLastCell() in itext7? 如何在优胜美地获取1.7.0_45 JDK? - How to get the 1.7.0_45 JDK on Yosemite? 如何在iText7中包含PDF / A中的BarCode? - How to include BarCode in PDF/A with iText7? 如何使用iText7将SVG添加到PDF - How to add an SVG to a PDF using iText7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM