Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints...
Transcript of Lab1 (Windows) - AlbanyWooseok/201/Slide/Lab1_Windows.pdfPizza Hut BWAY©Restaurants All saints...
![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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/2.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/3.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/4.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/5.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/6.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/7.jpg)
• 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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/8.jpg)
![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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/9.jpg)
• 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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/10.jpg)
• 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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/11.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/12.jpg)
![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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/13.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/14.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/15.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/16.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/17.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/18.jpg)
- 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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/19.jpg)
![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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/20.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/21.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/22.jpg)
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,](https://reader033.fdocuments.in/reader033/viewer/2022042204/5ea53bbca9493a1a550f6b57/html5/thumbnails/23.jpg)
Find java file