![]() ![]() ![]() We have only one JDK/JRE installed on this server, therefore, press to keep the current selection.Ĭreate the symbolic link for javac using alternatives command. # alternatives -install /usr/bin/java java /usr/java/jdk-11.0.1/bin/java 2Įnter to keep the current selection, or type selection number: # tar xf jdk-11.0.1_linux-圆4_ -C /usr/java/Ĭreate the symbolic link for java using alternatives command. ![]() Installing Java JDK 11 from TAR on CentOS 7:ĭownload Java JDK 11 TAR for CentOS 7 from Oracle Technical Network (OTN) and copy it to the home directory of root user.Įxtract downloaded tarball using tar command. Java JDK 11 has been installed from RPM Package on CentOS 7 server. Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode) Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Verify installation of Java JDK 11 by executing java command. # echo "export JAVA_HOME=/usr/java/jdk-11.0.1" > /etc/profile Warning: jdk-11.0.1_linux-圆4_bin.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Install the downloaded package using rpm command. Installing Java JDK 11 from RPM on CentOS 7:Ĭonnect to using ssh as root user.ĭownload Java JDK 11 RPM for CentOS 7 from Oracle Technical Network (OTN) and copy it to the home directory of root user.
0 Comments
Leave a Reply. |