Skip to content

Manual Linux Java Install

To manually install OpenJDK 17, follow these steps:

  1. Navigate to the Eclipse Temurin releases page, confirming the JDK 17 - LTS tab is selected.

    Linux and Windows downloads are both available from this one page

  2. In the Linux row, select your architecture (typically x64), leave JDK selected, and download the TAR.GZ.

  3. In your system, create a folder called java and cd into it.

  4. Expand the downloaded file using the following command (adapt the filename according to the name of your downloaded file):

    $ tar -xf OpenJDK17U-jdk_x64_linux_hotspot_17.0.20.1_1.tar.gz
    
  5. Add Java to your PATH:

    $ export PATH=$PWD/jdk-17.0.20.1+1/bin:$PATH
    
  6. To ensure that Java is now correctly installed, open a console and type java -version. The output should look something like this:

    $ java -version
    openjdk version "17.0.20.1" 2026-08-19
    OpenJDK Runtime Environment Temurin-17.0.20.1+1 (build 17.0.20.1+1)
    OpenJDK 64-Bit Server VM Temurin-17.0.20.1+1 (build 17.0.20.1+1, mixed mode, sharing)