intro to java. day 1 history installing eclipse sample “hello” program packages/classes/etc…

Post on 13-Jan-2016

224 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Intro to Java

Day 1

• History• Installing Eclipse• Sample “Hello” program• Packages/Classes/Etc…

• Initially developed around 1991• Named “OAK”, later changed to JAVA• Developed by James Gosling• WORA: Write Once Run Anywhere• Most of Java open source in 2006

History

Primary goals

• Simple, object-oriented and familiar• Robust & secure• Architecture-neutral & portable• Execute with high performance• Interpreted, threaded & dynamic

Day 1

• History• Installing Eclipse• Sample “Hello” program• Packages/Classes/Etc…

Installing Eclipse

• Visit http://eclipse.org• Download version appropriate for

your computer• Unzip/Unpack• Open “Eclipse” directory/folder• Execute Eclipse.exe or Eclipse.app

Day 1

• History• Installing Eclipse• Sample “Hello” program• Packages/Classes/Etc…

“main” must exist for console applications.

Day 1

• History• Installing Eclipse• Sample “Hello” program• Packages/Classes/Etc…

Java Classes

top related