Compiler
| Item | Description |
|---|---|
| Use compiler | Select the desired compiler from the list of the supported ones:
|
The available settings depend on the compiler currently selected.
- Compiler settings for Javac, Eclipse and Javac in-process
- Compiler settings for Jikes
- Compiler settings for Ajc
Compiler settings for Javac, Eclipse and Javac in-process
| Item | Description |
|---|---|
| Generate debugging info | If this check box is selected, the compiler includes the information necessary for running the compiled classes in the debugger. |
| Report use of deprecated features | If this check box is selected, the compiler displays warnings about the deprecated methods, classes, or fields encountered during compilation. (The corresponding warnings are shown in the compiler output window.) |
| Generate no warnings | If this check box is selected, the compiler omits the warnings about dubious usages of language constructs. |
| Additional command line parameters |
Specify the command-line parameters and options to be passed to the compiler at its start.
Refer to the compiler documentation for the available options.
If you need more room to type, click When specifying the parameters and options, follow these rules:
|
| Maximum heap size (MB) |
The heap size available to the process that launches the compiler.
If you are compiling a particularly large or complex project, you may get out-of-memory errors and be required to increase the amount of memory allocated to the compiler. |
Compiler settings for Jikes
| Item | Description |
|---|---|
| Path to Jikes executable |
Specify the path to Jikes.
Type the path in the field, or click |
| Generate debugging info | If this check box is selected, the compiler includes the information necessary for running the compiled classes in the debugger. |
| Generate no warnings | If this check box is selected, the compiler omits the warnings about dubious usages of language constructs. |
| Report use of deprecated features | If this check box is selected, the compiler displays warnings about the deprecated methods, classes, or fields encountered during compilation. (The corresponding warnings are shown in the compiler output window.) |
| Additional command line parameters |
Specify the command-line parameters and options to be passed to the compiler at its start.
Refer to the compiler documentation for the available options.
If you need more room to type, click When specifying the parameters and options, follow these rules:
|
Compiler settings for Ajc
| Item | Description |
|---|---|
| Path to Ajc compiler |
Specify the path to Ajc (the file aspectjtools.jar which is located
in <AJDK installation directory>\lib).
Type the path in the field, or click |
| Maximum heap size (MB) | If necessary, specify the maximum heap size for the compiler. (The default is 128 MB.) |
| Command line parameters |
If necessary, specify the
command-line options
to be passed to the compiler.
You can type the parameters right in the field,
or click When specifying the options, follow these rules:
Note that the aspectpath option may be specified separately, using the GUI provided below. |
| Test | Click this button to check if the path and the command line parameters are correct.
If all is well, the compiler version is displayed. Otherwise, an error message is shown. (Using the path and the parameters specified, IntelliJ IDEA tries to launch the compiler with the additional -version parameter.) |
| Explicit aspect path | If you want to specify the aspectpath option, select this check box, and then use the available controls (see below) to form the aspectpath. |
(Alt+InsertControl N )
|
Use this icon or shortcut to add project and global libraries to the list. Select the necessary library or libraries in the Choose Libraries dialog that opens. |
(Alt+DeleteCommand Delete)
|
Use this icon or shortcut to remove the selected items from the list. |
(Alt+UpControl Up)
|
Use this icon or shortcut to move the selected item one line up in the list. |
(Alt+DownControl Down)
|
Use this icon or shortcut to move the selected item one line down in the list. |

. Jikes is not shipped with IntelliJ IDEA and
should be downloaded separately.
to open the
and select the required file in
the
(
(
(
(