Hosted by:
SourceForge

wrapper.java.classpath.<n> Property
wrapper.java.classpath.<n> Property
Configuration Property Overview
wrapper.java.classpath.<n>

Java Classpath to use. You should have a series of properties listing up the various class path elements to use when launching the application. Each element has a property name which starts with wrapper.java.classpath. and ends with an integer number counting up from 1. There can be no missing numbers.

This list must contain the wrapper.jar file. It can contain jar files as well as directories containing class files.

Example:
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../lib/myapp.jar
wrapper.java.classpath.3=../lib/mysql.jar
wrapper.java.classpath.4=../classes

If a wildcard character is used within a classpath entry, all matching files will added to the classpath used when launching a JVM instance. Valid wildcard characters are '*' and '?'. '*' will match 0 or more characters and '?' will match exactly one character.

Example:
wrapper.java.classpath.1=../lib/*.jar
wrapper.java.classpath.2=../classes

NOTE

On Windows, the Wrapper will correctly handle class path elements which contain spaces by enclosing the final combined class path in quotes. Individual class path elements should not be quoted even if they contain spaces.

by Leif Mortenson

last modified: