1. Install JDK
JDK stands for "Java Development Kit" and is required to develop Java applications and applets. JRE means "Java Runtime Environment" and is used to run Java applications and applets.
You can download the newest JDK from a link below.
Select your platform(usually Windows) and click continue.
Type your email and password, if you want to register. (not mandatory)
Install application will be popped-up after downloading.
Nothing difficult with this step.
※ If you do not have JRE on your system, JRE installer will be invoked.
※ If you change target install directory of JDK, same change has to be made during JRE installation.
2. Set environment variables
- Right-click over 'My computer' and select 'Preferences > Advanced > Environment variable'.
- Create a new System variable:
- Variable name : JAVA_HOME
- Variable value : fullpath of JDK
- Find 'Path' element from System variables and MODIFY.(DO NOT CREATE AGAIN!!)
- Add '%JAVA_HOME%bin;' at the very first of existing statement.
- Add a new System variable 'CLASS_JAVA' with value of '.;%JAVA_HOME%\lib\tools.jar' ans Save
- Open command window and type java and javac to confirm that every this is all right.
'IT > Mobile Platforms' 카테고리의 다른 글
Android Architecture Overview (1) | 2011.04.08 |
---|---|
EFL(Enlightenment Foundation Library)이란 무엇인가? (0) | 2011.03.02 |
LiMo4? SLP? (3) | 2011.02.23 |
바다(bada), 삼성의 첫번째 스마트폰 플랫폼 이야기 (0) | 2011.02.22 |
Install JDK and set environment variables for Java (0) | 2010.11.12 |
Development environement for Android platform (0) | 2010.11.12 |
댓글을 달아 주세요