java coding environment installation & execution guide 컴퓨터 프로그래밍 ii korea univ
Post on 05-Jan-2016
227 Views
Preview:
TRANSCRIPT
Java Coding Environment Installation & Execution guide
컴퓨터 프로그래밍 IIKorea Univ.
Steps
Library (Java JDK)
• Download• Installation
IDE (IntelliJ IDEA)
• Download• Installation• Initial Con-
figuration
Coding JAVA
• Make a Project
• Compile• Debug
1. Library (Java JDK)
Download• http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download
1. Accept license2. Download appropriate JDK
based on OS(normally Win x64 OR MAC)
Installation
Installation
1. Remember JDK Installation path
2. IDE (IntelliJ IDEA)
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.
Download• https://www.jetbrains.com/idea/download/
Installation
Installation
Installation
Initial Configuration
Initial Configuration
Initial Configuration
3. Coding JAVA
Make a Project
Make a Project
Make a Project
1. Set a JDK installation path
Make a Project
1. Select JDK
Make a Project
Make a Project
1. Insert project name, location and package
Coding
Code edit area
Coding Click a play button will compile a code and execute it
Coding
Terminal area shows results of a code
Debugging
1. Click for setting a breakpoint
2. Click bug icon to compile a code and ex-ecute as a debug mode
DebuggingProgram running stops at a breakpoint
Stepping through the pro-gram
Debugging
Examine the values stored in the objects
Debugging
• Further reading• Debugging
• https://www.jetbrains.com/idea/help/debugging.html• Creating Breakpoints
• https://www.jetbrains.com/idea/help/creating-breakpoints.html
top related