Sunday, May 22, 2016

Pre-requisite before installing Android Studio on Windows system

Pre-requisite:

  1. Before installing Android Studio you need to install JDK in your system.
  2. Download JDK from below link: http://www.oracle.com/technetwork/java/javase/downloads/index.html 
  3. Post installation of JDK, you can verify by running below command in command prompt window:
    javac -version 
     
  4. After installation of JDK, you need to set the JAVA_HOME in environment variable. Follow below steps for setting JAVA_HOME in Environment Variables
    • Open Control Panel 
    • Click "System and Security"
    • Click "System"
    • On Left Hand Nav , click "Advanced system settings"
    • System Properties popup window will appear.
    • Click Advanced tab
    • On bottom you will find "Environment Variables..." button.
    • Below is the screenshot for better illustration:
       


                     Click "Environment Variables..." button and you will see "Environment Variables"                                popup window appears.
       4.  Under "System variables" section , click New.
            
       
      5.  New System Variable popup will appear. Provide the new System Variable name and path                   where JDK is installed in Variable Value field. Click OK.

          
         


No comments:

Post a Comment