Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Run fop.jar in FOP as Executable
How to run fop.jar in FOP an executable jar?
✍: FYIcenter.com
fop.jar in FOP has "Main-Class: org.apache.fop.cli.Main"
specified in the manifest file.
You can run fop.jar as an executable jar as shown below:
fyicenter> cd \local\fop-2.2\fop fyicenter> java -jar build\fop.jar -imagein examples\fo\graphics\listgeometry.gif \temp\listgeometry.pdf ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1.
The above command uses FOP to convert an image file in GIF format into a PDF directly.
The output PDF file is located at \temp\listgeometry.pdf.
Open it with a PDF viewer, you will see something like this:
⇒ Call org.apache.fop.cli.Main in fop.jar
2016-07-05, 3012🔥, 0💬
Popular Posts:
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
JDK 11 java.desktop.jmod is the JMOD file for JDK 11 Desktop module. JDK 11 Desktop module compiled ...
What Is poi-examples-5.2.3.jar? poi-examples-5.2.3.jar is one of the JAR files for Apache POI 5.2.3,...
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...