Compiling Java

There are three ways to compile Java:

  • A complete compilation occurs when you choose File - Save. All compile-time errors are reported at this time.
  • You can compile each class individually by clicking the class in the Script area, then clicking Compile and selecting "Compile Class Name."
  • Compile all of the classes at once by clicking the Compile button and selecting "Compile All."

Errors are reported in the Errors box. Click the Errors box to see which line in the Script area contains the error.

Errors not detectable during compilation are reported at run time.