Testing our Environment – part 4

To run the program from eclipse first select from the menu bar ‘Run-Run Configurations’.  This opens the configurations dialog box for running applications.

Figure 6 Run Configuration
Figure 6 Run Configuration

Select the Java Application ‘BuildAnApp1’ and from there click the ‘Run’ button at the bottom of the dialog box.  There is a much simpler method of running the code but we will use this dialog box later to configure our run options so this is an opportunity to introduce this method.

Pressing the run button closes the dialog box.  The program should write to the standard output device which within Eclipse is the console.  The console by default is one of the tabs at the bottom of the eclipse application window.

Figure 7 Console output
Figure 7 Console output

So Eclipse is working correctly now let’s check our external setup.

Advertisements
Testing our Environment – part 4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s