[Java 무작정 해보기] 0. 환경설정

2022. 12. 14. 23:23Learning/Java

  자바를 해봅시다. 일단 코딩은 지르고 보는 게 중요하다고 생각합니다. 그렇지만 메모장에 쓰고 하는 것은 너무 맨땅에 해딩하기기에 자바를 잘 다룰 수 있는 환경을 먼저 구성해봅시다.

 

  1. JDK 설치

Java Downloads | Oracle 대한민국

 

Download the Latest Java LTS Free

Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts.

www.oracle.com

java 11 사용

 

 

2. 환경변수 설정

내pc > 고급 시스템 설정 > 고급

변수 : JAVA_HOME
값 : C:\Program Files\Java\jdk-버전

변수 : Path
값 : %JAVA_HOME%\bin
 C:\Program Files\Java\jdk-버전\bin

 

 

3. IDE 설치

Integrated Development Environment(통합개발환경) : eclipse, intellij, Visual Studio Code등

Eclipse Downloads | The Eclipse Foundation

 

Eclipse Downloads | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.

www.eclipse.org

저는 Eclipse IDE 2020-12 버전을 사용했습니다.

 

다양한 환경을 설정하는 window -> preferences 창

 

encoding : Window > Preferences > UTF-8

encoding 설정

 


java version: Window > Prefereces > Java > Installed JRES > Add > Standard VM >
                     JRE home: C:\Program Files\Java\jdk-버전 > java11체크 > Apply and Close

 

'Learning > Java' 카테고리의 다른 글

[Java 무작정 해보기] 1. Hello world  (3) 2022.12.15