How to Install Eclipse and Setup ADT


Part 1

Installing Eclipse

  1. Image titled Install Eclipse and Setup ADT Step 1

    1

     

    Install the Java Platform. Eclipse and ADT are built on the Java platform, so in order to run them you will need the latest version of the Java Development Kit (JDK). The JDK is available for free from the Oracle website. Make sure to download the version appropriate for your operating system.

    • If you don’t have a Java Runtime Environment (JRE) installed, Eclipse will fail to open.
  2. Image titled Install Eclipse and Setup ADT Step 2

    2

     

    Download the Eclipse Platform. Before you can install your Android-specific tools, you will need to download the Eclipse IDE, which is what the Android tools are built on top of. Eclipse is available for free from the Eclipse Foundation.

    • For most Android developers, Eclipse Standard package will contain everything you need.
  3. Image titled Install Eclipse and Setup ADT Step 3

    3

     

    Unzip the Eclipse file. Eclipse will be downloaded as a ZIP file. Simply extract the ZIP file into a folder of your choosing, such as C:. The ZIP file contains a subdirectory called “eclipse”, so extracting the file into the C: drive will result in the folder “C:eclipse”.

    • Many users report issues with using Windows’ built-in unzipping program. When extracting the file, use an alternative program such as 7-Zip or Winzip.
  4. Image titled Install Eclipse and Setup ADT Step 4

    4

     

    Create a shortcut to Eclipse. Since Eclipse isn’t “installed” in the traditional sense, you might want to create a shortcut to it so that you can quickly access the program from your desktop. This will also allow to easily specify the Java Virtual Machine (JVM) that you will be working with.[1]

    • Right-click on eclipse.exe and select Send To. Click “Desktop (create shortcut)”. This will create a new shortcut on your desktop that will point to the eclipse.exe file.
  5. Image titled Install Eclipse and Setup ADT Step 5

    5

     

    Specify the Java Virtual Machine. If you have multiple JVMs installed on your computer, you can set Eclipse to always use a specific one. This can prevent errors from occurring if your machine switches default JVMs through other programs.

    • To specify your installation of the JDK, add the following line to your Eclipse shortcut, replacing the path with the location of your javaw.exe file:
      -vm C:pathtojavaw.exe[2]

 

Source: wikihow. com


Find More related How to Install Eclipse and Setup ADT


Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

Horje

Horje