Skip to main content

Installation and Configuration of JAVA Development Kit (JDK)


Just in  case you install Android Studio and its SDK Tools separately, you need to setup JDK as shown below: Installation and Configuration of JAVA Development Kit (JDK) Download java on the following link: http://www.oracle.com/technetwork/java/javase/downloads/index.html The above link will download all your necessary JAVA files. It will show all the ways to download and configure the JAVA setup. Make a directory by the name of ‘JAVA_HOME’ to store files and variable to refer the directory that consist of java and javac. And will save java_install_dir/bin and java_install_dir both. For windows: after installing the JDK file in C:\jdk1.8.0_102, you will have to write the following line in the C:\autoexec.bat.file:
set PATH=C:\jdk1.8.0_102\bin;%PATH%
set JAVA_HOME=C:\jdk1.8.0_102
Another 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:
  • Windows XP or any version available after XP
  • MAC OS X 10.5.8 or any version available after it
  • LINUX 2.7 or any version available after it
You can work with:
  • JAVA JDK5 or any version available after it
  • Android Studio

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.