• Skip to main content
  • Skip to primary sidebar

AutomationTestingHub

Selenium, Appium, Cucumber and more !!!

Download and Install Java

February 11, 2023 by anish 3 Comments

This article will take you through the step by step process of downloading and installing Java. When you work on automation testing, be it browser based using Selenium, or mobile based using Appium, you would need a programming language with which you can write your test scripts. We will be using Java as the programming language for all our tutorial series. Hence, the starting point for us is to download and install Java.

Download Java Development Kit (JDK 17)

Follow the steps given below to download the latest version of JDK 17 –

1. Open this link – https://www.oracle.com/java/technologies/downloads/

2. Scroll down a bit and the select Java 17, and then Windows

Download JDK from Oracle website

3. Click on .exe link

JDK should get successfully downloaded to your machine.

Install Java Development Kit (JDK)

Given below are the steps that you can follow to install the latest version of JDK on your machine –

1. Navigate to the folder where you had downloaded JDK. Double click on the exe file to start the installation process

2. The installation process would now begin. Click on Next button on the Setup screen

JDK Installation Setup

3. Wait for few seconds for Java to install some files. After that, it will ask you to specify the destination folder for JDK. Leave the default location as it is and click on Next button

Set JRE Destination Folder

5. JDK installation would now begin

6. Once the installation is completed, you would see the window as shown in the below screenshot. Click on Close button to close the window

7. To verify that the installation is successful, open Java folder in Program files. You would see that new JDK folder with the latest version numbers have been created. Don’t worry if you see previous versions of JRE or JDK folders in there. Multiple versions of JDKs & JREs can co-exist.


With this, we complete our article on downloading and installing the latest version of Java Development Kit. But this doesn’t complete the Java setup process. The next step is to setup Java environment variables, so that we can specify which Java version we have to use. We will take this up in our next article.

Next Article: Setup Java environment variables

Filed Under: Java

Primary Sidebar

Automation Testing Hub

Tutorials Guide

Write test scripts in BDD format using our Cucumber Selenium Tutorial

Use our Appium Tutorial Series to setup Appium from scratch

Categories

  • Android
  • Appium
  • Cucumber
  • Java
  • Playwright
  • Selenium
  • Tosca

Recent Posts

  • Appium Inspector – Download and Install
  • How to download Chromedriver for Selenium
  • Run Playwright tests on different browsers
  • Playwright Automation Testing Tutorial
  • Selenium IDE Chrome Download

Recent Comments

  • Run Playwright tests on different browsers - AutomationTestingHub on Playwright Automation Testing Tutorial
  • Confluence: CPSSoft Test Framework on Appium Inspector – Download and Install
  • Playwright Automation Testing Tutorial - AutomationTestingHub on Download and Install – Node.js and NPM
  • Chrome浏览器在使用Java的Appium中无法启动。 | JAVA语言的经验与见解 on 2 Ways to find appPackage and appActivity name of your App
  • Appium Inspector Tutorial - AutomationTestingHub on Download and Install Appium 2 Server

Archives

  • January 2024
  • July 2023
  • March 2023
  • February 2023
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016

Latest Selenium 3 Guide

Are you using the latest version of Selenium WebDriver? It provides lot better support for the latest browser versions. Check it out here - Setup Latest Selenium WebDriver

Categories

  • Android
  • Appium
  • Cucumber
  • Java
  • Playwright
  • Selenium
  • Tosca

Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in

Go to mobile version