23
Lab1 (Windows) Wooseok Kim [email protected] www.cs.albany.edu/~wooseok/201

Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Lab1 (Windows)Wooseok Kim

[email protected]

www.cs.albany.edu/~wooseok/201

Page 2: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Class

• Monday 04:40PM – 05:35PM

• Wednesday 04:15PM – 05:10PM• Friday 09:20AM – 10:15AM

Page 3: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Office hours

• Tuesday 01:30PM – 03:30PM in UAB 437• 1215 Western Avenue, Albany, NY

Page 4: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Install Programs

• JDK

• Eclipse

Page 5: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

JDK

• Java Development Kit

• The basic stuff needed to program using the Java programming language

Page 6: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

JDK

• http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Page 7: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

• Accept License Agreement• Download Windows x86 or x64

• 32 bits – x86• 64 bits – x64

• Install the JDK

Page 8: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,
Page 9: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

• Run Command Prompt• Check if the JDK is successfully installed

Windows 7

Windows 10

• Both• Press Win+R on your keyboard• Type cmd• Press Enter or click/tap OK

Page 10: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

• Type java –version on Command Prompt

Page 11: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Download Eclipse (64bits)

• https://www.eclipse.org/downloads/download.php?file=/oomph/epp/oxygen/R/eclipse-inst-win64.exe&mirror_id=492

Page 12: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,
Page 13: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Choose Workspace

Page 14: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Java Project

Page 15: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Write Project Name

Page 16: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Check New Project

Page 17: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Right Click on src folder -> Class

Page 18: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

- Write Class Name- Check main method

Page 19: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,
Page 20: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

1. Do the programming like below2. Save the code (ctrl + S)

Page 21: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Output

Page 22: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Find java file

Page 23: Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints Catholic Church SAVE NEARBY 9+ Add a missing place Label Work . ORACLE ... API documentation,

Find java file