External Compiler Property Editor

See Also 

The External Compiler property editor enables you to set the compiler executable and arguments that a compiler type uses. You can open the property editor by selecting the desired compiler type in the Options window, selecting the External Compiler property, and clicking the property's ellipsis (...) button. The External Compiler property is not available for the internal compiler.

The Process field lists the location of the compiler executable. By default this is the compiler shipped with the IDE's default JDK. If you want to compile programs against a different Java platform, click the ellipsis button to navigate to the target JDK's compiler executable.

The Arguments field lists the command that the compiler type passes to the compiler executable each time it is used. The command is a list of variables that are resolved at compile time. For example, if you set the compiler type's Optimize property to True, the {optimize} variable is replaced with the command-line switch for optimization. The Argument Key section provides a description of the variables.

You can also use the Arguments field to set the class path for the compiler type. You can add directories to the class path by entering them after the -classpath switch. You should use this method only if you are developing a module for the IDE and need to add the IDE's system libraries to the compiler type's class path.
See Also
Cross-Compiling Between Java Platforms
Compiler Types in the IDE
Switching JDK Versions


Legal Notices