![]() Source your profile file with the following command: source /etc/profile.d/jdk17.sh Next, move your extracted file to the /opt directory: sudo mv jdk-17.0.2 /opt/ Configure Java Environment Path on Ubuntu 22.04Īt this point, you need to configure the Java home path by using the following command: sudo tee /etc/profile.d/jdk17.sh <<EOF Then, extract your downloaded file with the command below: sudo tar xvf openjdk-17.0.2_linux-圆4_ Install Java Development Kit 17 on Ubuntu 22.04įirst, you need to update your local package index with the command below: sudo apt update Download OpenJDK 17Īt this point, you need to visit the JDK Downloads page to download the latest archive by using the wget command: sudo wget To do this, you can follow our guide on Initial Server Setup with Ubuntu 22.04. To complete this guide, you must log in to your server as a non-root user with sudo privileges. Steps To Install OpenJDK 17 on Ubuntu 22.04 ![]() Without the linking exception, components that linked to the Java class library would be subject to the terms of the GPL license. The project is licensed under the GNU General Public License (GNU GPL) version 2 with a linking exception. OpenJDK, which stands for Open Java Development Kit, originated from an effort initiated by Sun Microsystems in 2006 and is now sponsored and led by Oracle. OpenJDK is a free, open-source version of the Java Development Kit for the Java Platform, Standard Edition (Java SE). This tutorial intends to show you to Install OpenJDK 17 (Java 17) on Ubuntu 22.04.
0 Comments
Leave a Reply. |