🌐
LinuxCapable
linuxcapable.com › home › ubuntu › how to install openjdk 17 on ubuntu 26.04, 24.04 and 22.04
How to Install OpenJDK 17 on Ubuntu 26.04, 24.04 and 22.04 - LinuxCapable
April 29, 2026 - Install OpenJDK 17 on Ubuntu 26.04, 24.04 and 22.04 using APT. Covers JRE vs JDK, version management, JAVA_HOME setup, removal.
🌐
LinuxShout
linux.how2shout.com › home › installing openjdk 17 ubuntu such as on 24.04 or 22.04 linux
Installing OpenJDK 17 Ubuntu such as on 24.04 or 22.04 Linux - LinuxShout
October 15, 2024 - This means we don’t need to add anything extra to our system to get it. Just use the given command on your terminal, and the OpenJDK’s 17 version will be installed on your Ubuntu system.
Discussions

Need help with installing java17
This is the guide for you: https://www.linuxuprising.com/2021/09/how-to-install-oracle-java-17-lts-on.html If it doesn't work, you should provide more info, specifically what exactly you type in console, and what error you're getting. More on reddit.com
🌐 r/Ubuntu
5
2
December 4, 2021
How to install Java?
Why THE HECK IS THERE NOT A BASIC INSTALLER FOR JAVA the package manager can install java... now WHICH java you specifically need... No idea. but the basics will be the same. https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-20-04 java -version If Java is not currently installed, you’ll see the following output: Output Command 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.11-72, or sudo apt install openjdk-11-jre-headless # version 11.0.7+10-3ubuntu1 sudo apt install openjdk-13-jre-headless # version 13.0.3+3-1ubuntu2 sudo apt install openjdk-14-jre-headless # version 14.0.1+7-1ubuntu1 sudo apt install openjdk-8-jre-headless # version 8u252-b09-1ubuntu1 Execute the following command to install the default Java Runtime Environment (JRE), which will install the JRE from OpenJDK 11: sudo apt install default-jre The JRE will allow you to run almost all Java software. note: i think you only install ONE of the above packages.. :) unless you know you need more than one version of java.. (i have not messed with java in years) No idea what specific java needs your game may require.. Note - on Ubuntu 20.10 I get the following.. java --version Command 'java' not found, but can be installed with: sudo apt install default-jre # version 2:1.11-72, or sudo apt install openjdk-11-jre-headless # version 11.0.9.1+1-0ubuntu1~20.10 sudo apt install openjdk-8-jre-headless # version 8u275-b01-0ubuntu1~20.10 (You will have to enable component called 'universe') sudo apt install openjdk-13-jre-headless # version 13.0.4+8-1 (You will have to enable component called 'universe') sudo apt install openjdk-14-jre-headless # version 14.0.2+12-1 (You will have to enable component called 'universe') sudo apt install openjdk-15-jre-headless # version 15+36-1 (You will have to enable component called 'universe') the 'universe' they mention is the universe repository in the package manager settings. Otherwise - i think it will install openjdk-11 which is in the default repositories. PS: guides that mention the webup8 repositories - are likely outdated. the webup8 site has stopped hosting the non-free java stuff in their repos due to Licensing changes Installing Oracle JDK 11 Oracle’s licensing agreement for Java doesn’t allow automatic installation through package managers. To install the Oracle JDK, which is the official version distributed by Oracle, you must create an Oracle account and manually download the JDK to add a new package repository for the version you’d like to use. Then you can use apt to install it with help from a third party installation script. More on reddit.com
🌐 r/Ubuntu
8
0
January 1, 2021
Java 17 available now!
I thought Oracle JDK is free only for development, testing and prototyping but not for production. Java 17 LTS is the latest long-term support release for the Java SE platform. JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions License. More on reddit.com
🌐 r/java
83
410
September 14, 2021
how to install java 17 on debian 9?
Thanks for being a part of | r/Admincraft | ! | We'd love it if you also joined us on Discord! Join thousands of other Minecraft administrators for real-time discussion of all things related to running a quality server. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/admincraft
13
4
April 2, 2022
🌐
IT'S FOSS
itsfoss.gitlab.io › post › how-to-install-openjdk-17-on-ubuntu-2404-2204-or-2004
How to Install OpenJDK 17 on Ubuntu 24.04 22.04 or 20.04 :: IT'S FOSS
August 15, 2025 - Install OpenJDK 17 on Ubuntu 24.04 22.04 or 20.04 LTS easily. Get clear step-by-step terminal instructions for a smooth setup.
🌐
UbuntuMint
ubuntumint.com › home › how to install openjdk 17 on ubuntu 20.04/22.04
How to Install OpenJDK 17 on Ubuntu 20.04/22.04
July 24, 2023 - Since we are intent to install OpenJDK 17 via Ubuntu’s APT package manager. We will use it to search Ubuntu’s default repository for the existence of this Java development kit by executing the following command on your Ubuntu command line: ... From the above terminal window output for the ...
🌐
OneUptime
oneuptime.com › home › blog › how to install java (openjdk) on ubuntu
How to Install Java (OpenJDK) on Ubuntu
January 15, 2026 - # Install OpenJDK 21 (LTS, released September 2023) sudo apt install openjdk-21-jdk -y # Install OpenJDK 17 (previous LTS) sudo apt install openjdk-17-jdk -y # Install OpenJDK 11 (older LTS, still widely used) sudo apt install openjdk-11-jdk ...
🌐
keep_growing
keepgrowing.in › home › how to install openjdk 17 on ubuntu
How to install OpenJDK 17 on Ubuntu - keep_growing
January 11, 2022 - Learn how to install OpenJDK 17 on Ubuntu and update the JAVA_HOME variable to point permanently to this release.
🌐
Tutorials24x7
java.tutorials24x7.com › blog › how-to-install-openjdk-17-on-ubuntu-20-04-lts
How To Install OpenJDK 17 On Ubuntu 20.04 LTS | Tutorials24x7
September 26, 2021 - Open the JDK 17 GA Release site and download the distribution for Linux systems as highlighted in Fig 1. ... Open the terminal and make the directory /usr/java/openjdk to keep all the java ...
🌐
IT'S FOSS
itsfoss.gitlab.io › post › how-to-install-openjdk-17-on-ubuntu-2004-2204
How to Install OpenJDK 17 on Ubuntu 20.04/22.04 :: IT'S FOSS
August 11, 2025 - Install OpenJDK 17 on Ubuntu 20.04/22.04. This guide helps you set up Java for development and testing.
Find elsewhere
🌐
ITzGeek
itzgeek.com › home › how to's › linux › ubuntu › how to install java jdk 17 on ubuntu 22.04
How to Install Java JDK 17 on Ubuntu 22.04 | ITzGeek
April 25, 2022 - ... First, install dependencies for Oracle JDK 17 installation. sudo apt update sudo apt install -y libc6-x32 libc6-i386 · Then, download Oracle Java JDK 17 using the wget command in the terminal.
🌐
RoseHosting
rosehosting.com › home › how to install java 17 lts on ubuntu 20.04
How to Install Java 17 LTS on Ubuntu 20.04 | RoseHosting
October 5, 2022 - Ubuntu 20.04’s default repository included Java 17. This is the easiest way to install the JDK using the apt package manager: ... openjdk 17.0.2 2022-01-18 OpenJDK Runtime Environment (build 17.0.2+8-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 17.0.2+8-Ubuntu-120.04, mixed mode, sharing
🌐
ComfyUI
mslinn.com › blog › 2023 › 09 › 28 › jdk.html
Installing JDK 17 on Ubuntu
September 28, 2023 - This page is part of the posts collection, categorized under Java, Ubuntu. The Java Development Kit (JDK) version 17 is compatible with v11 and v8. Installing the JDK also installs the JRE, as you can see from the highlighted dependency shown below: ... $ apt show -a openjdk-17-jdk Package: openjdk-17-jdk Version: 17.0.8.1+1~us1-0ubuntu1~23.04 Priority: optional Section: java Source: openjdk-17 Origin: Ubuntu Maintainer: Ubuntu Developers
🌐
Se-education
se-education.org › guides › tutorials › javaInstallationLinux.html
Java 17 Installation Guide for Linux Users
This guide explains how to install the (specifically, OpenJDK Java 17) on Linux using the command line. This guide was created using Ubuntu 22.04 but the steps for other Debian based Linux distros should be similar. This guide assumes you have superuser access. ... First we need to ensure our apt repositories are updated. Enter the following command in your terminal...
🌐
Ask Ubuntu
askubuntu.com › questions › 1426061 › how-do-i-install-openjdk-17
java - How do I install openjdk 17? - Ask Ubuntu
Firstly I have tried to get it from snap via sudo snap find openjdk and after finding a snap for version 18 I have to proceed by sudo snap install.... Then I tried to start my program which needs j...
🌐
Madhusudan
madhusudan.live › blog › install-java-17-in-linux-fedora-debian
Install Java 17 On Linux in 2 Ways: Step-By-Step Guide
May 5, 2024 - Hello guys, today in this tutorial, ... or Ubuntu. Java is a popular programming language and Java 17 is a latest LTS (Long Term Support) version of it, installing java 17 JDK or Java development kit will allow you to use the new features introduced in the java 17. This tutorial is specifically for Java 17 - OpenJDK 17, I'll explain each command in brief, and provide the necessary information, so let's open your terminals and get ...
🌐
AlexHost
alexhost.com › home › faq › linux › how to install openjdk on ubuntu 22.04: a complete step-by-step guide
How to Install OpenJDK on Ubuntu 22.04: A Complete Step-by-Step Guide
1 month ago - Installing OpenJDK on Ubuntu 22.04 is a straightforward process that gives you a powerful, production-grade Java development environment at zero licensing cost. By following this guide, you have: Updated your system and installed OpenJDK 11 or 17 from Ubuntu's official repositories
🌐
Linode
linode.com › docs › guides › how-to-install-openjdk-ubuntu-22-04
Installing OpenJDK on Ubuntu 22.04 | Linode Docs
March 20, 2023 - Install the preferred release of OpenJDK using apt. Answer y when Ubuntu asks whether to proceed with the installation. The following command demonstrates how to install the full JDK platform of OpenJDK release 17.
🌐
Ubuntu
launchpad.net › ubuntu › +source › openjdk-17
openjdk-17 package in Ubuntu
headless: OpenJDK Development Kit (JDK) (headless) openjdk-17-jre: OpenJDK Java runtime, using Hotspot JIT openjdk-
🌐
BlueVPS
bluevps.com › blog › step-by-step guide: how to install java on ubuntu 22.04
Step-by-Step Guide: How to Install Java on Ubuntu 22.04 - Blog - BlueVPS
September 25, 2023 - The Ubuntu 22.04 repository, by default, includes the OpenJDK. It is an open-source version of JDK and JRE. Therefore, you can search the OpenJDK in the apt repository using the following command: ... You can see all the OpenJDK versions in the terminal window. At the time of writing this article, OpenJDK 20 is the most recent version. But in this guide, we will install the OpenJDK 17 ...