Java Coding Environment Installation & Execution guide COSE 102 컴퓨터 프로그래밍 II Korea Univ.
Steps Library (Java JDK) Download Installation IDE (IntelliJ IDEA) Initial Configuration Coding JAVA Make a Project Compile Debug Submit Code WithCS
1. Library (Java JDK)
Download http://www.oracle.com/technetwork/java/javase/downloads/index.html
Download Accept license Download appropriate JDK based on OS (normally Win x64 OR MAC)
Installation Remember JDK Installation path
2. IDE (IntelliJ IDEA)
IntelliJ IDEA? IntelliJ IDEA는 JetBrains사에서 제작한 상용 자바 통합 개발 환경이다. 줄여서 IntelliJ 혹은 IDEA로도 불린다. The Most Intelligent Java IDE (Integrated Development Environment) Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern technologies and frameworks available out of the box.
Download https://www.jetbrains.com/idea/download/
Installation
Initial Configuration
3. Coding JAVA
Make a Project
Make a Project
Make a Project 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 Typing code Click a play button will compile a code and execute it Code edit area
Coding Terminal area shows results of a code
Debugging 2. Click bug icon to compile a code and execute as a debug mode 1. Click for setting a breakpoint
Debugging Program running stops at a breakpoint Stepping through the program
Debugging Examine the values stored in the objects
Debugging Further reading Debugging Creating Breakpoints https://www.jetbrains.com/idea/help/debugging.html Creating Breakpoints https://www.jetbrains.com/idea/help/creating-breakpoints.html
4. Submit Code
https://withcs.net 1. Click Register
Register Complete register form (must fill 학번 form) Click Register
Practice
Submit Select Java Language Copy & Paste copy (must comment or delete line 1) Click Submit
Check result