GRASP - CSD Window (Java) : Compiler

File | Edit | View | Templates | Windows | Compiler | Run | Help

Make - Executes the makefile in the directory containing the current file.

Compile - Executes javac on the current file, adding the path to that file to the classpath specified by the environment variable CLASSPATH.

Semantic Check - Inspects your source code for syntax and semantic errors. Generating a CSD performs a syntax check on your code and returns the location of errors encountered. However, if the information that GRASP provides is not enough to locate the error, try performing a semantic check, as it will often return a little more information as fas as what the compiler may have been expecting in certain locations, which may help locate the error.

Flag Setup - Gives the user the option of setting compiler flags. To do this, enter the flags in the appropriate text box (which appears when this item is selected) just as you would when compiling from the command line.

Command Setup - Raises a dialog that allows the user to specify various compiler commands. When a command is executed, %FLAGS will be replaced by the flags for that command (from Flag Setup) and %FILE is replaced by the current filename.

Return to the Introduction to GRASP Page