Java Essentials www.edureka.
co
Java and Eclipse IDE
Installation
Installation Guide on Windows
Brain4ce Education Solutions Pvt. Ltd.
Version 1.0
Java and Eclipse Installation www.edureka.co
Java and Eclipse IDE Installation
Installation Guide
Table of Contents
Installing JDK ........................................................................................................................................... 2
Installing Eclipse IDE.............................................................................................................................. 11
Troubleshooting: ................................................................................................................................... 12
Brain4ce Education Solutions Pvt. Ltd Page 1
Java and Eclipse Installation www.edureka.co
Installing JDK
Step 0: Before you proceed to install Java,
Go to Start Search for cmd Type java version
To check if Java is pre-installed and configured in your system.
If Java is not pre-installed in your system then follow below steps to install Java
Brain4ce Education Solutions Pvt. Ltd Page 2
Java and Eclipse Installation www.edureka.co
Note: Before downloading Java check your OS is 64 bit or 32 bit.
Follow below steps to check your OS.
If you are using Windows system:
Click on start or press windows key right click on Computer select Properties.
1
Here you will find the System settings as below:
From the above window you can find out whether your machine is 64 bit or 32 bit machine.
Brain4ce Education Solutions Pvt. Ltd Page 3
Java and Eclipse Installation www.edureka.co
On a Windows XP OS follow the following steps:
From the start menu Go to Control Panel Go to System.
Here you will find the System settings as below:
Brain4ce Education Solutions Pvt. Ltd Page 4
Java and Eclipse Installation www.edureka.co
Step 1: Go to the URL http://www.oracle.com/technetwork/java/javase/downloads/jdk8-
downloads-2133151.html
Step 2: Choose the appropriate option that is as per the machine you are installing the JDK
viz. 32 bit machine or 64 bit machine. Accept License Agreement and then click on
download under the JDK section.
Windows 32 - bit
Windows 64 - bit
Step 3: Once you downloaded the Java SE Development Kit click on the downloaded .exe
file to start the installation
Brain4ce Education Solutions Pvt. Ltd Page 5
Java and Eclipse Installation www.edureka.co
Step 4: Click Next
Step 5: Click Next
Brain4ce Education Solutions Pvt. Ltd Page 6
Java and Eclipse Installation www.edureka.co
Step 6: Click Next
Step 7: Click Next
Brain4ce Education Solutions Pvt. Ltd Page 7
Java and Eclipse Installation www.edureka.co
Step 8: Click Close
Step 9: Now follow below steps to set the path variable
After completion of Java Installation, set the Environment variable
Go to My Computer from the startup menu Right click on ComputerGo to
Properties Go to Advanced System Settings
Brain4ce Education Solutions Pvt. Ltd Page 8
Java and Eclipse Installation www.edureka.co
From the Popup Go to Environment Variables
Click on Add
Name the Environment Variable as Path
Place the value of the JDK installation folder on your machine till the folders bin
directory. For ex: C:\Program Files\Java\jdk1.8.0_60\bin
Brain4ce Education Solutions Pvt. Ltd Page 9
Java and Eclipse Installation www.edureka.co
Step 10: Create another environment variable name it as JAVA_HOME and set the
variable values as C:\Program Files\Java\ jdk1.8.0_60 i.e. excluding the bin directory.
After creating Environment variables, JDK installation process is completed.
Brain4ce Education Solutions Pvt. Ltd Page 10
Java and Eclipse Installation www.edureka.co
Installing Eclipse IDE
We recommend using Eclipse IDE for Java Developers. Before downloading Eclipse IDE check
your OS is 64 bit or 32 bit.
Step 1: Using below link download "Eclipse IDE for Java Developers (92 MB)"
http://www.eclipse.org/downloads/
Step 2: Extract the downloaded eclipse zip , you will be able to see below folder structure
on eclipse zip extraction
Brain4ce Education Solutions Pvt. Ltd Page 11
Java and Eclipse Installation www.edureka.co
Step 3: Double click the eclipse.exe (with Eclipse symbol) to start the eclipse IDE
Troubleshooting:
If you are finding below error after the JDK installation. Then you might have downloaded
wrong software i.e. the Eclipse IDE and the JDK are incompatible.
An Example can be that the JDK was downloaded for 64 bit machine and Eclipse for a 32 bit
machine or Vice versa or both could not be downloaded for the targeted machine.
In order to resolve this Uninstall of JDK from Add/Remove Programs and download a new
Eclipse and JDK for the Target Machine (64 bit or 32 bit) and follow the steps as mentioned
from the beginning of the document.
Brain4ce Education Solutions Pvt. Ltd Page 12