You can pass any command-line parameters to the external Java compiler.

Open the Project Settings window by choosing Project | Settings... from the main menu and select the Compiler Types | External Compilation | External Compilation node. In the External Compiler property of this node, you can edit a template for what the command will look like.