Hope this helps:
Step 1.) Go to https://www.eclipse.org/downloads/index-developer.php?release=kepler and download appropriate Eclipse version.
Step 2.) Extract downloaded zip file in appropriate location. In this tutorial, I have downloaded and installed it under program files.
Step 3.) Right click on eclipse.exe file and send shortcut to desktop.
Step 4.) Double click on eclipse shortcut from desktop and select appropriate location to create your workspace.
Step 5.) Navigate to Window > Preferences. This should open Preferences window.
Step 6.) On the left hand side page expend âJavaâ and click on âInstalled JREsâ
Step 7.) Click Add. It will open âAdd JREâ dialog. Select âStandard VMâ and click Next.
Step 8.) For âJRE homeâ select âDirecotryâ¦â. This will open âBrowse for folderâ dialog. Select the location where your JDK is installed. NOTE: MAKE SURE THAT ITS x64 AS WELL, AS WE ARE USING 64-BIT VERSION OF ECLIPSE.
Step 9.) If you have selected proper location, it will show JDK version in JRE name and it will display âJRE system librariesâ.
Step 10.) Click finish. Now your JDK is properly pointed as âInstalled JREsâ.
Step 11.) Select checkbox unchecked before name of your JDK name.
Click ok and youâre done. You are now using JDK as âInstalled JREsâ