java coding environment installation & execution guide 컴퓨터 프로그래밍 ii korea univ
TRANSCRIPT
![Page 1: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/1.jpg)
Java Coding Environment Installation & Execution guide
컴퓨터 프로그래밍 IIKorea Univ.
![Page 2: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/2.jpg)
Steps
Library (Java JDK)
• Download• Installation
IDE (IntelliJ IDEA)
• Download• Installation• Initial Con-
figuration
Coding JAVA
• Make a Project
• Compile• Debug
![Page 3: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/3.jpg)
1. Library (Java JDK)
![Page 4: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/4.jpg)
Download• http://www.oracle.com/technetwork/java/javase/downloads/index.html
![Page 5: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/5.jpg)
Download
1. Accept license2. Download appropriate JDK
based on OS(normally Win x64 OR MAC)
![Page 6: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/6.jpg)
Installation
![Page 7: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/7.jpg)
Installation
1. Remember JDK Installation path
![Page 8: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/8.jpg)
2. IDE (IntelliJ IDEA)
![Page 9: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/9.jpg)
IntelliJ IDEA?
IntelliJ IDEA 는 JetBrains사에서 제작한 상용 자바 통합 개발 환경이다 .
줄여서 IntelliJ 혹은 IDEA 로도 불린다 .
The Most Intelligent Java IDE (Integrated Development Envi-ronment)Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern tech-nologies and frameworks available out of the box.
![Page 10: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/10.jpg)
Download• https://www.jetbrains.com/idea/download/
![Page 11: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/11.jpg)
Installation
![Page 12: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/12.jpg)
Installation
![Page 13: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/13.jpg)
Installation
![Page 14: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/14.jpg)
Initial Configuration
![Page 15: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/15.jpg)
Initial Configuration
![Page 16: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/16.jpg)
Initial Configuration
![Page 17: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/17.jpg)
3. Coding JAVA
![Page 18: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/18.jpg)
Make a Project
![Page 19: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/19.jpg)
Make a Project
![Page 20: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/20.jpg)
Make a Project
1. Set a JDK installation path
![Page 21: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/21.jpg)
Make a Project
1. Select JDK
![Page 22: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/22.jpg)
Make a Project
![Page 23: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/23.jpg)
Make a Project
1. Insert project name, location and package
![Page 24: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/24.jpg)
Coding
Code edit area
![Page 25: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/25.jpg)
Coding Click a play button will compile a code and execute it
![Page 26: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/26.jpg)
Coding
Terminal area shows results of a code
![Page 27: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/27.jpg)
Debugging
1. Click for setting a breakpoint
2. Click bug icon to compile a code and ex-ecute as a debug mode
![Page 28: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/28.jpg)
DebuggingProgram running stops at a breakpoint
Stepping through the pro-gram
![Page 29: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/29.jpg)
Debugging
Examine the values stored in the objects
![Page 30: Java Coding Environment Installation & Execution guide 컴퓨터 프로그래밍 II Korea Univ](https://reader038.vdocuments.mx/reader038/viewer/2022102718/56649f315503460f94c4c7a1/html5/thumbnails/30.jpg)
Debugging
• Further reading• Debugging
• https://www.jetbrains.com/idea/help/debugging.html• Creating Breakpoints
• https://www.jetbrains.com/idea/help/creating-breakpoints.html