For each file, you can set whether it is run with external execution (in a new Java VM), internal execution (useful if you want to modify the IDE itself), or another type of execution.

To change the type of execution for an object, select its icon in the Explorer. In the Properties window, click the Execution tab. Select the Executor property. Then click the drop-down arrow that appears and select the execution type from the combo box.