5/10/2023 0 Comments Oracle jdk 11 download![]() To use Java 8, select Java version 1.8 using this command. $ sudo dnf install java-1.8.0-openjdk java-1.8.0-openjdk-devel If you are required to install Java OpenJDK 1.8, you can run the below command. Then verify the change with this command. Here, the selection number of Java 17 is 1. To choose the OpenJDK 17, type its selection number and press Enter. It displays a list of all installed Java versions on the system. To change the Java version, you can use the following command. The current default version for Java is OpenJDK 11. Run this command to check the Java version. Now you have installed two Java versions on your Rocky Linux system. $ sudo dnf install java-11-openjdk java-11-openjdk-devel If you need to install Open JDK 11, run the following command. Open JDK 11 is still a widely used Java version. It prints the Java version configured on your system.Īs you can see, OpenJDK version 17.0.6 is successfully installed on the system. Once you finish the installation, execute this command to verify the installation. ![]() $ sudo dnf install java-17-openjdk java-17-openjdk-devel To install OpenJDK, open a terminal and run the following command. OpenJDK 17 is the latest LTS release of the Java Development Kit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |