Altova StyleVision Server 2023

By default, StyleVision Server uses the FO processor of the Apache FOP Project when it generates PDF documents via its generate command. (You can select some other FO processor with the setfopath command.)

 

FOP will have been installed with StyleVision Server. On Windows systems FOP is installed in the folder C:\ProgramData\Altova\SharedBetweenVersions. On Linux and macOS systems, it is installed in a descendant folder of StyleVisionServer2023.

 

For information about running FOP 2.8, see the page on this topic at the Apache.org website. (If you are using another version of FOP, go to the corresponding page of that FOP version.)

 

Java Runtime Environment

To create PDFs, FOP requires that Java Runtime Environment (JRE) be installed on your machine. Check the minimum JRE version required for your version of FOP at the Apache.org website. For example, for version FOP 2.8, a JRE 1.8 or later is required. If JRE is not installed and you try to run FOP to generate a PDF, you will get a message saying there was an error on calling FOP.

 

Setting up OpenJDK

StyleVision Server has been tried regularly with the latest available OpenJDK version. At the time of writing, the latest version is 19.0.2. After you have downloaded and unzipped your OpenJDK package, make sure (i) to add the the java\bin path to the system paths and (ii)  to set the JAVA_HOME environment variable.

 

On Windows, set the JAVA_HOME environment variable as follows:

 

1.On the Windows taskbar, right-click the Windows icon and select System.

2.In the Settings window, under Related Settings, click Advanced System Settings.

3.On the Advanced tab, click Environment Variables.

4.Click New to create a new environment variable and name it JAVA_HOME.

5.Set the value of the environment variable. For example, on a ‪C:\Programs\openjdk\bin\java.exe set the value to ‪C:\Programs\openjdk.

 

© 2017-2023 Altova GmbH