Changing Which Java VM PopChart Server Uses

PopChart Server requires Java VM 1.2.2 or higher. We strongly recommend a 1.3.1 VM if you will be using PopChart Builder. You may find, however, that you achieve better performance with a different Java VM.

Warning: We currently do not support Java VM version 1.4. You may still be able to get it working, though (see "Unable to Run PopChart Server with Java 1.4 VM on Windows" in Chapter 14 and "Can't Generate GIF Images with JVM 1.4" in Chapter 14).

To change the Java VM that PopChart Server uses, locate the bin/PopChart.lax file. Inside of this file you will find a line similar to the following:

lax.nl.current.vm=C:\\Program Files\\JavaSoft\\JRE\\1.3.0_01\\bin\\java.exe

You should change the lax.nl.current.vm variable to point to the Java VM that you want to use.

Important: Because the .lax file uses the backslash as an escape key, you should be sure to use double backslashes for file paths.

If you need to change the Java VM for Font Converter, PopChart Builder, or PopChart Server Console Mode, you can do this by following a similar process with the FontConverter.lax, PopChartBuilder.lax, and PopChartConsole.lax files respectively.

If you are using the UNIX script (pca.sh), you can change the Java VM that PopChart Server uses by modifying the JAVA_HOME variable in the config/pcs.settings file to point to the root directory of the Java VM that you want to use (not the bin or jre subfolder).