Java 17.x on Windows Machine

This article provides step-by-step instructions for installing Java 17.x (OpenLogic JDK) on a Windows system and configuring the required environment variables for successful Java application execution.

Prerequisites

Ensure the following before proceeding:

  • Operating System: Windows 10 or later.

  • Administrative Privileges: Required for installation and configuration.

  • Basic Knowledge: Familiarity with File Explorer and system settings.

Installation Steps

Download Java 17 Installer

  • Download the Java 17 MSI installer from the link provided by your team or from the official source.

  • For OpenLogic JDK, use the following link: 📥 Download OpenLogic JDK 17

Run the Installer

  • Double-click the downloaded .msi file.

  • This launches the installation wizard.

Follow the Installation Wizard

  • Click Next to proceed.

  • Accept the license agreement and click Next.

  • Choose an installation directory (default is recommended) and click Next.

  • Click Install to begin installation.

  • After installation completes, click Finish.

Default Installation Directory

  • Java is typically installed at:

    C:\Program Files\OpenLogic\jdk-17.0.15.6-hotspot

Configure Environment Variables

  • Set JAVA_HOME

    1. Open the Start Menu, search for Environment Variables, and open it.

    2. In the System Properties window, go to AdvancedEnvironment Variables.

    3. Under System Variables, click New and insert:

    4. Insert the below values,

      • Variable Name: JAVA_HOME

      • Variable Value:

        C:\Program Files\OpenLogic\jdk-17.0.15.6-hotspot
    5. Click OK to save.

  • Update PATH Variable

    1. In the same Environment Variables window, under System Variables, select Path and click Edit.

    2. Click New and add:

      %JAVA_HOME%\bin
    3. Click OK to save all changes.

Verify Installation

  • Open a new Command Prompt and run:

    java -version
  • The output should confirm Java 17 installation.


Copyright © 2025, OvalEdge LLC, Peachtree Corners, GA, USA.

Last updated

Was this helpful?