Installing Java and Eclipse on Windows
Download and install the Java Development Kit (JDK).
Next, download and install Eclipse.
Open Eclipse and run Eclipse’s introduction “Hello World” tutorial in order to verify everything is setup correctly:
Installing Selenium for Eclipse with Java
This guide assumes that you already have Eclipse and Java installed. You’ll want to download the latest stable Java release from the Selenium website.
Configuring WebDriver
Once downloaded, extract the zipped file to a folder of your choosing. I personally put Eclipse right in my C: directory and put the Selenium files within a folder called “selenium”. The extracted files will be all of the required jar files which enable you to create test scripts in Java.