ANDROID

a)    Download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html.. make sure you download JDK version 8 any subversion will work.

b)    Accept license and install.

c)     Choose your operating platform, e.g., "Windows x64" (for 64-bit Windows OS)

d)    Locate the downloaded installer and run the downloaded installer (e.g., "jdk-8u{xx}-windows-x64.exe"), which installs both the JDK and JRE. By default, the JDK will be installed in directory "C:\Program Files\Java\jdk1.8.0_xx", where xx denotes the latest upgrade number; and JRE in "C:\Program Files\Java\jre1.8.0_xx".

e)    Windows OS searches the current directory and the directories listed in the PATH environment variable for executable programs. So we need to edit the PATH environment variable. Follow the following step to edit