- 1Install 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.
2Download 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.
- If you don’t have a Java Runtime Environment (JRE) installed, Eclipse will fail to open.
3Unzip 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”.
- For most Android developers, Eclipse Standard package will contain everything you need.
4Create 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.
- 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.
5Specify 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.
- 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.
- 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:
You may also like !
Source: wikihow. com