set PATH=C:\jdk1.8.0_102\bin;%PATH% set JAVA_HOME=C:\jdk1.8.0_102Another way to do it is that you can click on ‘My Computer’ select ‘Properties’ then click on ‘Advanced’ then click on ‘Environment Variables’ then update the PATH value and press OK. For LINUX: after the SDK is installed in /usr/local/jdk1.8.0_102 and use the C shell. Write the following code in .cshrc file
setenv PATH /usr/local/jdk1.8.0_102/bin:$PATH setenv JAVA_HOME /usr/local/jdk1.8.0_102/Note that: You will be able to start your Android app on: