Developing Java Applications: A Tutorial | Building a Simple Application

Building and Running the Application

You've completed the work required from you for the Temperature Converter project. Now it's Project Builder's turn to work.

Build the Project

To build the project:

  1. Click the Build icon in the project window to display the Build panel.



  2. Click the same icon in the Build panel.

You can also press Command-Shift-B to start building directly, bypassing step 1.

Project Builder begins compiling and linking the project code. It reports progress in the Build panel. If there are errors, Project Builder lists them in the upper part of the display area. Click a line reporting an error to have Project Builder scroll to the site of the error in the code editor.

Related Concepts

The build target for Application projects is, by default, "app" (for application). By clicking the checkmark button on the Build panel, you can bring up the Build Options panel, where you can set the target to "debug" (which creates an executable with extra symbols for debugging) or set other per-build parameters.

Launch and Test the Project

Of course, once the application has been built, you'll want to launch the application to see if it works as planned. You have at least two ways of doing this:

Then click the Launch button (same icon) on the Launch panel to launch the application.


Previous | Next
© 1998 Apple Computer, Inc.