Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to Download and Install OpenJDK 11 on Windows 10 PC for Aleph

    • Product: Aleph
    • Product Version: 22, 23
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

    Description

    This article explains how to install OpenJDK 11, without removing Oracle Java from the PC. 

    OpenJDK (Open Java Development Kit) is a free and open-source implementation of the Java Platform Standard Edition (Java SE), released under the GNU General Public License (GNU GPL) version 2. 

    OpenJDK can be used for printing in Aleph GUI 22 and up. 

    This document id based on: 

    https://downlinko.com/download-install-jdk-11-windows.html 

     

    Resolution

    Download OpenJDK 11

    Oracle's OpenJDK JDK binary for Windows is available on release-specific pages of jdk.java.net as .zip archive.

    Look for the builds section.

    • Click on the zip link right next to Windows/x64.

    At the time of writing the latest Oracle OpenJDK release was version: 11.0.1. 

    • Download the file

    "openjdk-11.0.1_windows-x64_bin.zip": https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_windows-x64_bin.zip 

    • Extract to C: drive

    Select the ZIP archive file. Right-click and then click on the Extract All… menu item.

    Select an extract destination for the JDK files.

    In this example, we extract in C:\jdk-11.0.1.

     

    • Setup

    We need to set up an environment variable that will point to our JDK installation. 

    Click on the search button. Then type "env" (without quotes). 

    Note: On Windows 7 click on the Windows button. 

    Click on the "Edit system environment variables" shortcut. 

    Wait for the environment variables window to open.

    Click on "New…". 

    Enter "JAVA_HOME" as variable name. Enter the [JAVA_INSTALL_DIR] as variable value. 

    In this tutorial, the Java installation directory is C:\jdk-11.0.1. 

    Click OK.

     

    • Configure the PATH environment variable 

    Select the "Path" variable. Click on "Edit…". 

    Click on New and type "%JAVA_HOME%\bin" as shown below. 

    Click OK. 

    Click OK once more to close the environment variables window.

    If a Path variable does not exist you need to create it. Use "Path" as variable name and "%JAVA_HOME%\bin" as variable value.

    Add the "%JAVA_HOME%\bin" and use the "Move Up" button. 

    Note: On Windows 7 you cannot add extra values for an existing Path variable. You need to append ";%JAVA_HOME%\bin" at the end of the variable value instead.

       

    • Test

    Click on the search button. Then type "cmd" (without quotes). 

    Click on the Command Prompt shortcut. 

    Wait for the command prompt to open.

    Type "java -version" and press ENTER. 

    The above command prints the installed OpenJDK version: "11.0.1".

    Additional Information

    The installation of OpenJDK version 12 can be executed in the same manner.

     


    • Article last edited: 3-Jan-2020
    • Was this article helpful?