The class path is the path that the Java runtime environment searches for classes and other resource files.
In the Classpath tab you can setup Classpath of executable and
add JAR files within executable.
JAR files added into executable will be automatically added into class path at executable's run time. Added JAR files are stored within executable!
Class path entry can be directory or archive (.zip or .jar files). All relative paths will be translated (at launcher run-time) as follows:
| .\* | >> | full-path-to-executable\* |
| file.ext | >> | full-path-to-executable\file.ext |
| disk:\* | >> | disk:\* |
String might contain references to environment-variable strings of the form "%variableName%". At run-time, for each such reference, the %variableName% portion is replaced with the current value of that environment variable. Case is ignored when looking up the environment-variable name. If the name is not found, the %variableName% portion is left undisturbed.
Classpath entries that are neither directories nor archives (.zip or .jar files) are ignored.
Warning: It is strongly recommended to not use absolute paths in class path.
Example 1: your Java application classes placed
in j2app.jar and you plan
to put executable launcher in to the same directory; in this case add
j2app.jar
Example 2: your Java application classes placed
in j2app.jar and you plan
to put executable launcher in to the directory c:\myapp and to put j2app.jar
in to the c:\myapp\classes\j2app.jar; in this case add
.\classes\j2app.jar