External Executor
The external executor calls
a new virtual machine (VM) when it executes
an application. This enables you to run applications that require a special
VM and to perform operations that are not possible with internal executors.
For example, you can specify the VM executable (such as java.exe)
and complete command-line parameters together
with class path settings for the application. Using an external executor
also protects the IDE from application crashes and delays.
The external executor is the default executor provided with most templates in the IDE.
To view or change the properties of the external executor,
open the Options window, expand Debugging and Execution
Execution Types, and select External Execution.
When you change the value of a property, your change affects all
classes that use the executor.
The Properties tab of the external executor has the following
properties:
- External Process.
Sets the external process that the IDE uses to execute a class.
By default, the IDE uses the java tool
provided with the JDK.
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.
For more information on the java tool and its
options, see:
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html
- Identifying Name.
Specifies the name that the IDE uses to identify this executor type.
The default is External Execution.
The Expert tab of the external 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