1. Home
  2. Android Development Guide for Hikey960
  3. Prepare
  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.

  • 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; )

  • test:

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

Was this article helpful to you? Yes No

How can we help?