IT Learning


「 CentOS 」 一覧

Changing OpenJDK8 to OpenJDK11 on CentOS7

2022/11/07   -CentOS

Description I changed java environment from OpenJDK8 to OpenJDK11 and wrote the procedure to do it in here. The reason I changed OpenJDK version is simply I think OpenJDK8 is a little old and OpenJDK11 is better for me in the future. Step1 : Checking the existing java version java -version openjdk version “1.8.0_262”OpenJDK Runtime Environment (build 1.8.0_262-b10)OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)   Step2 : Removing existing OpenJDK8 We can remove the existing OpenJDK8 environment with “yum remove” command. It’s good way to use wild-card to clean it fully. sudo yum -y remove java-1.8.0-openjdk* Checking the version …