[program-java] Re: Eclipse: Hello World

  • From: Anna Giller <anna.giller@xxxxxxxxxxxxxxx>
  • To: program-java@xxxxxxxxxxxxx
  • Date: Tue, 21 Oct 2008 16:09:45 -0400

Jim,

Is it always such a long journey to run Java program, or just for the first
time?

Thank you very much for today's classes, I really hope you will have some
time tomorrow to continue.

Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Tuesday, October 21, 2008 1:49 PM
To: Program-J (E-mail)
Subject: [program-java] Eclipse: Hello World

Eclipse: Hello World

Ah the good old Hello World program. It will suit our purposes because we
are actually learning how to use Eclipse....

So far, we have created the Work Space, a project, a package and a class. If
you have viewed the class, you will note it's scant on code and would not do
any thing spell binding.

However at this point we really can't even run the class with out delving
deeper into the IDE.

Let's assume that we want to run the project for the first time:

1.      Select alt R + R from the main menu.... (Run\Run Last Launch)...

2.      Once the new screen appears, tab once to the treeview... Eclipse
Project is usually the default selection.

3.      Scroll down the treeview to locate Java Application.

4.      Hit enter on this selection... the tree will expand and Main will be
the child node.

5.Tab once and you here the prompt for name along with Main

5.      Tab again to Main Tab...

6.      Tab again to hear the Project prompt and you should hear
first_time...

7.      Tab twice to locate the Main Class... in this case you should hear
main.Main. If not, use the brows function.

8.      Continue to tab until you locate the Run button. If everything is in
order, you really shouldn't hear and or see anything. However, if there are
errors we'll need to debug.... Stay tuned.

Jim 

James M. Corbett

GST Division (Micro Applications)
Acting CS3 IT Specialist / Acting Team Leader
(613) 941-1338

"I love deadlines. I like the whooshing sound they make as they fly by." 
Douglas Adams

"I'm Jim Corbett and I approve this message"



Other related posts: