자바를 배우기 앞서 기본적인 세팅을 하는 방법을 배울 것이다.

일단 이클립스 or 에딧 플러스를 설치한다.

나는 eclipse 19년 3월버전을 사용하였다.

https://www.eclipse.org/downloads/packages/release/2019-03/r

운영체제에 맞는것을 받으면 된다.

 

2019-03 R | Eclipse Packages

438 MB 6,798 DOWNLOADS The Modeling package provides tools and runtimes for building model-based applications. You can use it to graphically design domain models, to leverage those models at design time by creating and editing dynamic instances, to collabo

www.eclipse.org

 

자바 jdk1.8

https://www.oracle.com/java/technologies/javase-downloads.html

JDK다운로드를 누른다. JDK의 파일의 위치는 기억하기 쉬운 위치로 한다.

아래에서 컴퓨터에 환경변수를 설정해야 하기 때문이다.

운영체제에 맞는것을 받으면 된다.

https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

vs코드도 다운로드한다.

그 후 

내PC > 우클릭 후 설정 > 고급 시스템 설정 > 고급 > 환경변수에서 jdk파일 위치를 설정한다.

C:\Program Files\JAVA\jdk1.8.0_291\bin이 새로 만든 환경변수이다.

만약 일련의 과정이 잘 되었다면 잘 되었나 테스트하기 위해

win+r 혹은 배경의 시작을 우클릭해서 나오는 실행을 누른 후 cmd를 들어간다.

javac -version을 쳤을 때 아래와 같이 나오면 성공, 버전이 나오지 않는다면 환경변수나 jdk가 아닌 다른 것을 다운로드한 것이다.

 

그리고 PDF파일을 보기 위해 acrobat reader을 설치한다. 이미 있다면 설치할 필요가 없다.

여기까지 됐으면 eclipse상단에서

window > general > workspace > text file encoding > 왼쪽 아래에서 UTF-8 설정을 한다

그리고 '나눔고딕코딩'폰트를 설치한 뒤 마찬가지로

preferences > general > appearance > colors and fonts > basic > text font > edit을 들어가서

나눔 고딕 코딩 폰트를 설정하고 글자크기는 자기가 보기 편한 크기로 설정하면 좋다.

'JAVA준비 > JAVA공부준비' 카테고리의 다른 글

oracleXe, sqldeveloper다운  (0) 2021.07.28

+ Recent posts