You can use any Java compiler to compile Java classes. To define a new compiler the IDE can use, choose Project | Settings... from the main menu and expand the Compiler Types node.

Right-click on a category subnode and choose New ServiceCategory Compilation Service from the contextual menu. A subnode for the new compiler type will appear under the category node. You can then configure the new compiler type on its property sheet.

On the property sheet for classes is a tab called Execution, with a property called Compile. Set this property to your new compiler type.

You can configure debugging and execution the same way, using the Debugger Types and Execution Types in Project Settings.