There are 3 steps to installing Selenium, and they are as follows:
Installing Java
Installing the Eclipse IDE
Installation of Selenium WebDriver
In this article, we explain the steps involved in the installation of Java JDK on Windows 11. The installation steps is same for other version of Windows such as Windows 10, Windows 8.
Let’s get going.
Java, Python, C#, Perl, Ruby, and more programming languages are supported by Selenium. One of the most popular languages for Selenium is Java. Let’s get started by learning how to install Java. The first step in installing Java is setting up the environment so that Java programs can subsequently be used to drive the device.
The JDK version comes bundled with Java Runtime Environment (JRE), so you do not need to download and install the JRE separately.
Installing Java On Windows :
- You can open Windows command prompt by Clicking on the Start button, then type cmd and Select Command Prompt from the list as shown in below shared screen shots.


2. Once the command prompt is opened up type java -version and hit enter. As shown in the below screen shot, this Windows PC doesn’t have any version of Java JDK installed on it hence it will show an error.

3. You can now go to the Java Downloads Page by visiting the link shared below.
https://www.oracle.com/java/technologies/downloads/

4. Under the section : Java SE Development Kit 18.0.2.1 downloads click Windows section . In this article, we’re using 64-bit Windows hence we’ve chosen x64 Installer. If your computer is running 32-bit Windows, then please use the x86 Installer which is available on the same downloads page under the section : Java SE subscribers have more choices.

5. You can start downloading the latest version of JDK for your system using the link shared below :
https://download.oracle.com/java/18/latest/jdk-18_windows-x64_bin.exe

6. Once the .exe file is downloaded, just goto the downloads folder , then double click on the file. It will open the Java Installation wizard. You could follow steps shown in below shared screen shots to complete Java installation.



7. To check whether Java is installed successfully on Your computer, You could open the command prompt and type :
java -version
You will see Java version information on the screen as shown in the below screen shot.

0 Comments