$ sudo yum -y install java-11-openjdk-devel Stop all processes that use Java before continuing. Most application devs have finally moved on to support the newest 'long-term support' (LTS) version of Java, which is Java 11. Questions are welcomed.Today's article is going ot focus on how to upgrade from Java 8 to Java 11 on CentOS/RHEL 7 and CentOS/RHEL 8 distributions.Įven though it is still widely supported, Java 8 shouldn't be used anymore. You may now delete jdk-8u121-linux-圆4.rpm file. Step 4 -> Install JDK 8 sudo yum install -y jdk-8u141-linux-圆4.rpm Step 5 -> Verify oracle JDK version java -version Where oraclelicense is the name of the cookie and accept-securebackup-cookie is its value. –header “Cookie: oraclelicense=accept-securebackup-cookie” NOTE -> It is important to manually instruct wget to send the cookie and here this is done using Wget -no-check-certificate -no-cookies -header "Cookie: oraclelicense=accept-securebackup-cookie" Step 3 -> Download RPM package of Oracle JDK (8u121) ![]() Step 2 -> Check the Java version java -versionĪs can be seen in the image above, java 7 is installed on the EC2 instance by default. Refer Step 4 of this blog to ssh to your instance. Following steps must be followed sequentially : Step 1 -> Ssh to your instance In this blog we will explore the procedure to install latest java 8 version ie JDK 8u121 (released on 17th January, 2017) on the EC2 Linux instance which comes with centOS as its default operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |