Testing our Environment – part 1

Just to make sure we have everything up and working we will quickly create a small program just to prove the basics are in place.

Almost any programming course will start you off with a ‘Hello World’ app, so why should we be any different.

Now, I think I said right back at the beginning that this is not about learning the Java language and this is not about learning how to program, this is about using Java and our programming knowledge to build a desktop application in Java.   So that said the code presented here should not be a surprise to anyone; it’s a simple Class with a Main method that launches the application and will form the corner stone of everything we do going forward.

So let’s get started.

    • Fire up Eclipse
    • When Eclipse starts you will need to specify a location for your workspace but once done it will remember the selection.
    • Create a Java project by selecting from the menu bar ‘File-New-Java Project’.  A new project dialog box appears.
Figure 1 New Java Project dialog box
Figure 1 New Java Project dialog box
  • Give your project a name.  I will use ‘Build An App1’.  Press the finish button.
Advertisements
Testing our Environment – part 1

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