티스토리 뷰

SW 개발/Java

[Java] Eclipse; 환경설정 All in One

지단로보트 2013. 2. 16. 08:35

1. JDK 6 설치
=============
- ORACLE > Downloads > Java SE > Java SE 6 Update 33 > JDK > DOWNLOAD >
- Java SE 6 Update 33 > JDK > DOWNLOAD > 'Accept License Agreement' (체크) > 'jdk-6u33-windows-i586.exe'(69.6MB) (다운로드) >
- 설치 중 JDK Install To > Change > `C:\Java\jdk1.6.0_33\` > OK
- 설치 중 JRE Install To > Change > `C:\Java\jre6\` > OK
--------------------------------------------------------
- 제어판 > 시스템 > 고급 시스템 설정 > 환경 변수 >
- 시스템 변수 > 새로 만들기 > 변수 이름: `JAVA_HOME` > 변수 값: `C:\Java\jdk1.6.0_33`
- 새로 만들기 > 변수 이름: `CLASSPATH` > 변수 값: `C:\Java\jre6\lib`
- Path > 편집 > 변수 값: `;%JAVA_HOME%\bin`


2. Eclipse 다운로드 및 설치 (Windows 7)
=======================================
- Eclipse > Downloads > Eclipse IDE for Java EE Developers > 'Windows 64 Bit' (클릭) > '[Korea, Republic Of] KAIST (http)' (다운로드) >
- `C:\Java` 폴더에 압축 해제 > `Eclipse-Clean`로 폴더명 변경

- $ eclipse.exe -clean > - Workspace: `C:\Projects`


3. eclipse.ini 환경설정
=======================
-vm
C:/Java/jdk1.6.0_33/bin/javaw.exe

4. Eclipse Color Theme 플러그인 설치
====================================
- Help > Ecllipse Marketplace > Find: 'Eclipse Color Theme' > Install > Next > Finish > OK > Yes
- Windows > Preferences > General > Appearance > Color Theme > Color Theme: 'Obsidian' > Apply >
- General > Appearance > Colors and Fonts > Basic > Text Font > Edit > 'Consolas/보통/12' > 확인 > OK

- Consolas에 맑은 고딕을 결합한 글꼴은 아래 주소에서 다운로드 가능

http://warmz.tistory.com/648


5. JD-Eclipse 플러그인 설치
===========================
- http://dl.free.fr/oyo82nYmZ 파일을 다운로드 후 아래 파일들을 eclipse\plugins 디렉토리에 복사
----------------------------------------------------------------------------------------------
jdeclipse_update_site.zip\plugins\jd.ide.eclipse.win32.x86_0.1.3.jar    -- 32비트일 경우
jdeclipse_update_site.zip\plugins\jd.ide.eclipse.win32.x86_64_0.1.3.jar -- 64비트일 경우
jdeclipse_update_site.zip\plugins\jd.ide.eclipse_0.1.3.jar
----------------------------------------------------------
- Help > Install New Software > Add >
- Name: 'JD-Eclipse Update Site' >
- Location: 'http://java.decompiler.free.fr/jd-eclipse/update' > OK >
- Select All > Next > Next > Finish > OK > Restart Now

6. ObjectAid Class Diagram 플러그인 설치
========================================
- Help > Install New Software > Add >
- Name: 'ObjectAid UML Explorer' >
- Location: 'http://www.objectaid.com/update' > OK >
- ObjectAid Class Diagram (체크) > Next > Next > Finish > OK > Restart Now

7. Subversive 플러그인 설치
===========================
- Help > Eclipse Marketplace > Find: 'Subversive' > Subversive - SVN Team Provider: Install > Next > Finish > Yes >
- (재시작 후) 'SVN Kit 1.7.5' (체크) > Finish > Next > Next > Finish > OK > Yes >
- File > Import > SVN > Project from SVN > URL: (입력) >
- Find projects in the children of the selected resource

8. JUnit 4 윈도우 활성화
========================
- Window > Show View > Other > Java > JUnit > OK

9. Auto Format 설정
===================
- Window > Preferences > Java > Code Style > Formatter >
- New > Profile name: 'Eclipse [built-in] (Maximum Line Width: 160)' > OK >
- Line Wrapping > Maxumum line width: 160 > OK > OK

10. Verbatim String 설정
=======================
- Window > Preferences > Java > Editor > Typing > Escape text when pasting into a string literal (체크) > OK


11. Spring IDE 플러그인 설치

============================
- Eclipse Martketplace > 'Spring IDE' > Install

댓글
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함