You are currently viewing Install java jdk

Install java jdk

1.7/5 - (3 votes)

Environment Setup for Automation Testing

Table of Contents

In this tutorial, we will learn how to set up an environment for automation testing. Just follow these steps to successfully install the JDK and set up environment variables. Images are also added for each of the steps.

  • Download JDK for java
  • Set up Environment
  • Download IntelliJ
  • Download JDK for JAVA
  • download JDK 8 or above for java from the oracle official website according to your system (operating system) requirements.

Click on the URL

https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html

 

For windows click here to download JDK

jdk

After the download completes, install the JDK on your System. As the installation completes, set up Environment Variables.

 

 Setting Up Environment Variables, IntelliJ IDE 

 

Copy the path where the JDK is present. For setting up Environment set up follow these steps.

Remember Copy the latest JDK installed on the JAVA folder.

 

C:\Program Files\Java

Open This PC, Program Files, and click on the Java folder.

path

Click on the windows search and type Environment and click on the Edit the system environment variables

environment

As you click on the Edit the system environment variables a window opens System Properties.

Now Click on the Environment Variables

After Clicking on the Environment Variables, add New System Variable.

Click on the New button New System Variable popup appears 

Type JAVA_HOME for the Variable name:

Add JDK path C:\Program Files\Java\jdk1.8.0_331 for Variable Value as mentioned in the screenshot.

Now click on the OK button to set up the environment.

Now double click on the Path on the System variable.

Add new %JAVA_HOME%

And %JAVA_HOME%\bin

And click on OK as mentioned in the screenshot.

java

Now click on the Apply and OK buttons as mentioned in the image.

apply

Now open the command prompt to verify whether the JDK and Environment variables set up or not.

Type Command java -version in the command prompt and press Enter button.

It will display the java installed version as mentioned in the screenshot.

version

Download intelliJ IDE 

IntelliJ is a free user friendly IDE for automation. Download the free version.

https://www.jetbrains.com/idea/download/#section=windows

Download the Community Version with .exe file. And install it.

IntelliJ