1. Home
  2. Android Development Guide for MediaTek X20
  3. Preparation
  4. JDK installation(Windows)

JDK installation(Windows)

1)Installation steps:

Download the appropriate version from the website:

http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Then double click the .exe file to start the installation, and the installation wizard will guide you to finish the installation.

2)Configuration JDK Environment:

  • Right click the My Computer icon, then click Properties -> Advanced -> Environment Variables;
  • System variable -> New JAVA_HOME variable (Variable values: JDK installation directory. For example: c:\java\jdk1.7.0 );
  • System variable -> Path variable -> edit, append to start with:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
  • System variable -> New CLASSPATH variable(Variable values : .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar; )

3)test:

Use command java -version to verify the configuration,for example:

Android3

Was this article helpful to you? Yes No 1

How can we help?