XSL-FO Tutorials - Herong's Tutorial Examples - Version 2.10, by Dr. Herong Yang
FOP Installation Verification
This section provides a tutorial on how to verify Apache™ FOP by running a FOP built-in example in an AWT preview window.
After installing Apache™ FOP, you can follow these steps to verify if the installation is completed or not.
1. Verify if JVM (Java Virtual Machine) is on the system or not by running the following in a command window:
C:\herong\>java -version java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode, sharing)
If you get an error, install JDK (Java Development Kit) on your system.
2. Run the built-in example:
C:\herong\>cd \fop C:\fop>fop -fo examples/fo/basic/readme.fo -awt
If you see a new window displaying some FOP readme information as shown below, you know that your Apache™ FOP is installed correctly.
Last update: 2016.
Table of Contents