![]() ![]() Personal suggestion is better to install it manually. Method 2: manual installation (personal recommendation) You can see the version information of your own jdk installation here. After installation, check the installed jdk version, and enter the command: java -version Install jdk1.8 here yum install -y java-1.8.0-openjdk-devel.x86_64ģ. ![]() Select the version of jdk you need to install. First, execute the following command to view the installable version of jdk: yun -y list java*Īfter successful execution, you can see the following interface:Ģ. This method is simple and rough, and it can be operated directly.ġ. Next comes the play, download and install the new jdk Method 1: use yum fool installation Or use the yum command jvm]# yum remove *openjdk*Īfter that, input rpm -qa | grep java again to check the unloading situation software]# rpm -qa | grep java Uninstall openjdk software]# rpm -e -nodeps software]# rpm -e -nodeps software]# rpm -e -nodeps software]# rpm -e -nodeps software]# rpm -e -nodeps java-1.8.0-openjdk-headless-1.8.0.86_64 Check the jdk installation package software]# rpm -qa | grep java OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)Ģ. OpenJDK Runtime Environment (build 1.8.0_102-b14) If there is, it will show: openjdk version "1.8.0_102" If there is no jdk, there will be no reaction. Check the jdk version in the system (some systems have their own jdk) software]# java -version ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |