9/4/2023 0 Comments Centos install java![]() ![]() Numerous Java applications use the JAVA_HOME or JRE_HOME environment variables to determine which java executable to use. To show the programs that provide the java command that is managed by alternatives, issue the command below: sudo alternatives -config javaįrom the above, it asks you Enter to keep the current selection, or type selection number: to select another version. The alternatives command, which manages default commands through symbolic links, can be used to select the default Java command. the one that will run when a user runs the java command as some applications require certain environment variables to be set to locate which installation of Java to use. If your application requires Java 8, you can install it by typing the following command: sudo yum install java-1.8.0-openjdk-develįrom the above, we installed multiple versions of Java on our system. Java 8, the previous Java LTS version, is still supported and widely used. To install the OpenJDK 11 on CentOS 8, issue the following command: sudo yum install java-11-openjdk-devel In this guide, we will explain how to install the Java on a CentOS 8 server. This is an implementation of either one of the Java Platform, Standard Edition, Java Platform, Enterprise Edition, or Java Platform, Micro Edition platforms released by Oracle Corporation in the form of a binary product aimed at Java developers on Solaris, Linux, macOS or Windows. Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |