There are several runtime-variables you can use to specify runtime directories:
These variables can be especially useful for adding JAR files to the bootclasspath.
In addition to these VM parameters, a parameter file in the same directory as the executable is read and its contents are added to the existing VM parameters. The name of this parameter file is the same as the exe file with the extension *.vmoptions. For example, if your exe file is named hello.exe, the name of the VM parameter file is hello.vmoptions. In this file, each line is interpreted as a single VM parameter. For example, the contents of the VM parameter file could be:
-Xmx128m -Xms32m
In addition to the VM parameters you can also modify the classpath in the *.vmoptions files with the following options:
You can use environment variables in the VM parameters with the following syntax: ${VARIABLE_NAME} where you replace VARIABLE_NAME with the desired environment variable.
The symbol
prepended to an entry
indicates that an error with that entry will lead to a startup failure with an error
message displayed to the user. The control buttons on the right allow you to
modify the contents of the class path list:
INS
)DEL
)ALT-UP
)ALT-DOWN
)To change the error handling mode of a class path entry, select the class path entry and press [Toggle 'fail on error'] right below the class path list or choose the corresponding menu item from the context menu.