![]() Today in this post, we have installed Java on RHEL CentOS and Oracle Linux 8. Especially if it is an application server that must be able to run multiple different applications. ![]() Installing Java on a current operating system is quite easy and necessary. OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode, sharing) OpenJDK Runtime Environment 18.9 (build 11.0.2+7-LTS) To do this, in the terminal run the following: :~# alternatives -config javaĪnd write the number corresponding to the Java version you want to leave by default.ġ.- Java on RHEL CentOS and Oracle Linux 8 Of course, you can change versions without any problem. Then, you have to tell the system which is the default version that the operating system will take. This is because there are many programs that although they are created with Java, they know how to make better use of one version than the other. Sometimes it’s a good idea to have several versions of Java installed. However, keep in mind that 11 is the last LTS and is the safest. On the same Oracle download site, you will be able to choose several versions of Java. Once you have done this, install it with the following command: :~# dnf install Then, you have to download it on another computer and upload it via FTP to the server. 2) Install Oracle Java on RHEL, CentOS and Oracle Linux 8ĭownloading the Oracle version on a server is a bit more complicated because for version 11 which is the last LTS, Log in is required. ![]() :~# dnf install java-11-openjdk-develĪnd that is it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |