JAR Executor
The JAR executor runs a class file externally. You must specify the
start class and class path in the manifest. The JAR file's class path consists of the relative paths to any other JAR files that contain classes that your JAR file needs. When running a JAR file, the class path in the IDE and command line is ignored.
To view or change the properties of the JAR executor,
open the Options window, expand Debugging and Execution
Execution Types, and select JAR Execution.
When you change the value of a property, your change affects all
classes that use the executor.
The Properties tab of the JAR executor has the following
properties:
- External Process.
Sets the external process that the IDE uses to execute a class.
Click the ellipsis (...) button to browse to a new executable
or to configure the arguments passed to the executor. You can
use any of the variables listed under the Argument key.
- Identifying Name.
Specifies the name that the IDE uses to identify this executor type.
The default is External Execution.
The Expert tab of the JAR executor has the following
properties:
- Append Environment Variables.
If True, appends or replaces existing IDE environment variables with
the variables listed in the Environment Variable property.
- Boot Classpath.
Sets the Java system libraries that the executor uses. By default, the IDE uses your default Java platform. Click the ellipsis button to display
a property editor in which you can change the boot class path settings.
- Classpath.
Specifies the path to the classes that the IDE uses. By default the IDE uses its internal class path, which includes all mounted filesystems and various directories in the IDE's installation and user directories. The IDE ignores your CLASSPATH environment variable. Click the ellipsis button to
display a property editor in which you can change the class path settings.
- Environment Variables.
Specifies the environment variables that the IDE uses, defined as name=value. When this value is set to
null, the IDE settings are used.
- Filesystems Path.
Specifies the path for all Filesystems nodes, including filesystems
that you have mounted. You cannot edit this property.
- Library Path.
Specifies the class path containing the libraries and modules that the IDE uses. You cannot edit this property.
- Working Directory.
Specifies the directory in which to start the process. If the value is
null, the IDE's own working directory is used.
This feature is available with the J2SETM software, version 1.3 and compatible.
Legal Notices