Download and install Java:

Set Up Java: Follow these simple steps to set up Java on your system:

  1. Download the Java Development Kit (JDK):

    1. Navigate to the official Java website (https://www.oracle.com/java/technologies/downloads/)

    2. Choose the JDK version (Choose the current latest version. As of now, the current latest version is JDK 24)

    3. Choose your operating system (Linux/macOS/Windows)

    4. Choose the installer Type (Zip file /exe /msi)

  1. Run the Installation Wizard:

    1. Once the download is complete, launch the installer from Downloaded location

2. Click 'YES' to allow the JDK to begin installation.

3. Click 'Next'

4. Select your preferred installation directory - Click 'change' to change the default installation directory (if needed) or Click 'Next' to proceed with default directory

5. Click on 'Close'. Now the Installation is finished

3. Configure Environment Variables (Recommended):

  • Windows Users:

    1. Open "System Properties" and Click on "Environment Variables"

  1. Click on "New" in System variables

  1. Enter Variable Name as "JAVA_HOME" and Variable Value as Location where JDK is installed and Click on "OK"

  1. Verify JAVA_HOME is set in the system Variables

  1. Select Path variable and click on "Edit"

  1. Click on "New"

  1. Enter the JAVA_HOME Path "%JAVA_HOME%\bin" and Click "OK"

  1. Click "OK" on Environment Variables

  1. Click "OK" on System Variables

Now the Configuration to set Java Path is completed.

To Configure in macOS/Linux: Open your shell configuration file (e.g., .bashrc or .zshrc) and add export JAVA_HOME=/path/to/jdk and export PATH=$JAVA_HOME/bin:$PATH

4. Verify the Installation: Open a terminal or command prompt and type java -version and javac -version to check if Java has been installed correctly.

If Java version is displayed correctly then Java Set up is completed

LearnQATesting has transformed my understanding of QA tools and techniques. The insights and resources offered here are invaluable for anyone looking to enhance their skills.

Jamie Smith

A laboratory setup featuring various networking and testing equipment on a table. A computer monitor displaying test results with a 'Pass' message is prominently positioned. Multiple cables in orange and blue are connected to devices labeled 'Optical Phase Modulation Meter' and 'Test Station'. The environment appears clean and organized, suggesting a professional or industrial setting.
A laboratory setup featuring various networking and testing equipment on a table. A computer monitor displaying test results with a 'Pass' message is prominently positioned. Multiple cables in orange and blue are connected to devices labeled 'Optical Phase Modulation Meter' and 'Test Station'. The environment appears clean and organized, suggesting a professional or industrial setting.

★★★★★