[program-java] Re: Eclipse Tutorial: #1

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Fri, 31 Oct 2008 09:48:31 -0500

Well, that is dependent upon the processor speed and or RAM but since
all Java based applications are of a JIT nature (Just in Time), they do
tend to be slower launching.

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: October 31, 2008 10:41
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Tutorial: #1

Jim,
I've tried my favorite way of fixing things - exited than got back. It
works now. 
Is it OK that launching Eclipse takes several minutes?
Thank you,
Anna
-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, October 31, 2008 10:30 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Tutorial: #1

Try maximizing the screen with alt + dash + x....

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: October 31, 2008 10:19
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Eclipse Tutorial: #1

Hi Jim!

I opened the class Main.java and was not able to read it with PC cursor,
only with Java cursor.
With PC cursor it only reads the current line, bbut doesn't go to the
next one.
It was fine before.
Do you know what I might have change?

Thank you very much,
Anna

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, October 31, 2008 8:42 AM
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Eclipse Tutorial: #1

So far we have created the workspace, the project, a package with in the
project titled main.... Note lower case m, created a class with in
package main titled Main.... Note the upper case m.

What we essentially have here is an entry point to the application which
can be referred to as a MVC (multi view control).

Now we need to run this thing.... 

From the Run menu select "Run Last Launch" or F11.

You will now be placed on the Run / Launch Configuration screen.... Tab
once to the tree view and scroll down to the option for Java Program.
Press "Enter" on this selection, by default you should hear and or see
Main...

Tab once to confirm the name as Main...

Tab twice to hear and or see the project name... in this case
first_time....

Tab twice more to locate the Main Class.... Don't get confused with
"Main Class" and your class Main. "Main Class" can be assumed to be the
entry point of the application and or the start up point.

In our case you should hear and or see main.Main.... take a look at the
mix of upper and lower cases....

Continue to tab until you locate the "Run" button.... Press enter and
there you go....

If you have followed these steps then outwardly you will notice nothing,
which is a good thing.

Next week we will tackle debugging....

Jim 


James M. Corbett

A / Technical Specialist
GST / HST Micro Development
875 Herron Rd / Ottawa / Ontario

(613) 941-1338

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







Other related posts: