Compiling and starting a project in Java

This section contains an example that demonstrates how to compile and start a project in Java.

Name

Example_05_CompilingAndStartingAProject

Description

This example demonstrates how to compile and start a project. The CCL and project files for this example are under java5/examples/projects. If you do not run this example from java5/examples, you need to set the variable c8.examples.example05ProjectDir with the D option to the path to the projects directory. Note that this example includes intentional errors to demonstrate compiler messages.

Notable Classes and Methods

CclCompilerFactory.newInstance().newLocalCompiler()

localCompiler.compile

CclCompilerFactory.newInstance().newRemoteCompiler

e.getCompilerOutput()

Related Information

For more information about compiling and starting projects, see Commands.