Compiling
Under the "Project" menu,
there are a number of choices for compiling files:
- "Build Application":
Compiles only those files in the porject that have changed
since the last time the project was compiled.
- "Rebuild
All": Recompiles all the files in the
project.
- "Compile XXX.java":
Compiles just the indicated file.
Compilation Errors
If an error is encountered during
comilation, error messages will appear in the message
window near the bottom of the screen. Double clicking on
the error message will take you to the offending line in the
code.
As always, correct the first few errors
first and try recompiling. Many of the later errors
result from the first few.
Running a Program
To run your program, just click on the
VCR-like "play" button on the task bar.
If VC cannot find the "main"
method, as may be the case if that file was written externally
to VC. To tell VC which file has the "main"
method, select "Project/Options" from the main
menu. On the "Projects" tab, find and fill
in the "Main Class" field with the name of the
appropriate file (class) with no file extension.
|