Software Practice 1 Course Overview Lecture Schedule Today s Task Contact Prof. Joonwon Lee T.A. Jaehyun Song Jongseok Kim (42) T.A. Sujin Oh Junseong Lee (43) 1
2 Course Overview Lecture + Lab Lecture: ~1 hour basic Java features Lab: ~2.5 hours programming practices Programming projects Almost 10 lab practices 1 term project (2 in a team) No exams
3 Course Overview Prerequisites Introduction to computer science C programming experience Data structure Grading factors Attendance Lab practice Term Project
4 Grading Policy Must otherwise you will get F grade Have to attend classes regarding to the project Submit term project assignment Attend 12 weeks and more May Be absent from 1 class (no need to ask) From 2 nd absence, it will be reflected on your grade Attending after lecture will be counted by late (2 lates = 1 absence) Not submit lab practice, but it will be reflected on your grade
5 Lecture Schedule (42) Spring 2018 (Monday) This schedule can be changed M A R C H A P R I L M A Y J U N E 5 12 19 26 Introduction & Install and setup Java Basic Grammar OOP class-method OOP APIs 2 9 16 23 30 OOP inheritance Error Handling File I/O & CSV 7 14 21 28 National Holiday Project Proposal & Some Tips 4 11 18 GUI Project Final Presentation Multi-threading END TERM (no class) MID TERM (no class) Socket & Project Intermediate Check Import or Export Package
6 Lecture Schedule (43) Spring 2018 (Wednesday) This schedule can be changed M A R C H A P R I L M A Y J U N E 7 14 21 28 Introduction & Install and setup Java Basic Grammar OOP class-method 4 11 18 25 OOP inheritance Error Handling File I/O & CSV OOP APIs MID TERM (no class) 2 9 16 23 30 Import or Export Package Project Proposal & Some Tips 6 13 20 National Holiday Project Final Presentation Multi-threading END TERM (no class) Socket & Project Intermediate Check GUI
7 Today s Task Briefly understanding Java Install Java on Microsoft Windows Ask TA if you do on Ubuntu or other with your laptop Install IDE for Java
8 Java is James Gosling, Mike Sheridan and Patrick Naughton initiated the Java language project in June 1991 Originally designed for small, embedded systems like settop box Java also refers to an island of Indonesia where first coffee was produced (called java coffee)
9 Also Java is Front-runner of Object-Oriented Programming Language Executable on huge types of platforms with special, powerful and gorgeous item at that time, called JVM but not today because of many reasons 3 billions of devices run Java applications Used for huge types of applications IoT, Smartphone, JSP, embedded software, enterprise applications, etc. Copyrighted by Oracle Original copyrighter, Sun, is taken over by Oracle
10 So, how does Java run? An overview of the Software development process
11 So, how does Java run? Through the Java VM, the same application is capable of running on multiple platforms
12 So, how does Java run? Java Platform Java Virtual Machine (JVM) Java Application Programming Interface (API)
13 Then, how can we install Java? https://www.oracle.com 1
14 Then, how can we install Java? 3
15 Then, how can we install Java? 4 5
Then, how can we install Java? Detailed guide: https://wiki.appcelerator.org/display/guides2/installing+oracle+jdk 16
Set Environment Variable 1. [Win_key + R] 2. Type sysdm.cpl and press enter Detailed guide: http://stackoverflow.com/questions/2619584/how-to-set -java-home-on-windows-7 17
18 Set Environment Variable 3. Move to Advanced tab 4. Click Environment Variables
19 Set Environment Variable 5. Click New 6. Create variable JAVA_HOME with the Java Installation Path
20 Set Environment Variable 7. Also create variable CLASSPATH by %JAVA_HOME%\jre\lib 8. Modify variable Path by adding %JAVA_HOME%\bin
21 Eclipse, Java IDE Most famous and powerful editor for implementing Java Pros Project management Check syntax error Console Input/Output Easy to debug
22 Eclipse, Java IDE Most famous and powerful editor for implementing Java Pros Project management Check syntax error Console Input/Output Easy to debug Cons Too easy to learn the interface TAs have nothing to do for students Here is installation guide
My new project 23
My new project 24
My new project 25
My new project 26
My new project 27
My new class 28
My new class 29
My new class 30
My new class 31
32 [Lab Practice #0] HelloWorld.java Print Hello Java! on the screen public class HelloWorld { public static void main () { System.out.println ( Hello Java! ); } }
33 Contact Office Class 42 85533, Corporate Collaboration Center (Jongseok Kim) 400509, Semiconductor Building (Jaehyun Song) Class 43 27309, Engineering Building (Sujin Oh) 26314A, Engineering Building (Junseong Lee) TA Contact Jaehyun Song: jaehyun.song@csl.skku.edu Jongseok Kim: ks77sj@gmail.com Sujin Oh: bgbanana@skku.edu Junseong Lee: acu.pe.kr@gmail.com Please send email to TA before visit office Feel free to contact via e-mail!