External Execution
See Also
External Execution 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 Execution. For example, you can
specify the VM executable (such as java.exe) and complete command-line
parameters together with classpath settings for the application. Using External
Execution also protects the IDE from application crashes and delays. External
Execution is the default execution type provided with most templates in the
IDE.
To view or change the properties of External Execution, 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 execution type.
You can set the following properties:
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.4.2/docs/tooldocs/solaris/java.html
- Identifying Name. Specifies the name that the IDE uses to identify
this executor type.
Expert
- Append Environment Variables. If True, appends or replaces existing
IDE environment variables with the variables listed in the Environment Variable
property.
- Enable Asserts. If True, enables evaluation of assert expressions
in execution. Asserts are available in JSDK 1.4 and later.
- Boot Classpath. Sets the Java system libraries that the executor
uses. To execute your classes with a different JDK version than the one the
IDE is running on, enter the path to the JDK libraries in this property. By
default, the IDE uses your default Java platform.
- Classpath. Specifies the path to the classes that the IDE uses. By
default the IDE uses its internal classpath, 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 classpath 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.
- Library Path. Specifies the classpath containing the libraries and
modules that the IDE uses. You cannot edit this property.
- Filesystems Path. Specifies the path for all Filesystems nodes, including
filesystems that you have mounted. You cannot edit this property.
- Working Directory. Specifies the directory in which to start the
process. If the value is empty, the IDE's own working directory is used.
Legal Notices