5.3.  Set Paths Using System Properties

The files pdfunit-monitor.config and the license key file need not be mentioned in the classpath. But then their locations have to be declared using JVM arguments. The keys are:

Dependent on your test environment (Eclipse, ANT or Maven) these parameters can be set in many ways. You can set properties in the start script startPDFUnitMonitor.bat (*.sh). As a less known option you can use the operating system environment variable _JAVA_OPTIONS:

set _JAVA_OPTIONS=-Dpdfunit.configfile=..\myfolder\pdfunit-monitor.config

If you have questions about this topic, write a mail to info[at]pdfunit.com.