intro to java. day 1 history installing eclipse sample “hello” program packages/classes/etc…
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
Links
• Java Timeline: http://oracle.com.edgesuite.net/timeline/java/
• Eclipse: http://www.eclipse.org/
• FRC Java Programming: https://wpilib.screenstepslive.com/s/4485/m/13809
• Classes: https://docs.oracle.com/javase/tutorial/java/concepts/object.html