![]() It is licensed under General Public License (GPL) version 2 with Class Path Exception.As the name implies, Amazon Corretto 8 is built on OpenJDK 8 (Java 1.8) and Corretto 11 is built on OpenJDK 11. In your terminal, use the following command. ![]() The above command should not print the OpenJDK version you installed earlier. The first and most recommended option is to install OpenJDK using the default version available from the Fedora appstream. Installing and Running Tomcat 8.5: sudo amazon-linux-extras install tomcat8.5 sudo systemctl startstop. Go to Fedora, Oracle & Redhat Linux prompt and type java -version. sudo amazon-linux-extras install java-openjdk11. The output will look something like this: openjdk version '11.0.3' LTS OpenJDK Runtime Environment 18.9 (build 11.0.3+7-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.3+7-LTS, mixed mode. And Oracle JDK provides long-term support for only paid customers.So Amazon Corretto is a good replacement for OpenJDK and Oracle JDK. Verify OpenJDK uninstall: Once the above step is complete, we can verify whether the openjdk uninstall is successful or not. Verify the installation, by running the following command which will print the Java version: java -version. Whereas OpenJDK is free without support and Oracle JDK is not free for commercial use. This JDK distribution is backed by Amazon, with thousands of Amazon Web Services running on Corretto – so it’s highly reliable.Why programmers and developers should use Amazon Corretto instead of OpenJDK and Oracle JDK out there?Because it’s FREE for all purposes (including personal and commercial uses) and it has long-term support from Amazon with quarterly updates. Oracle offers installable packages for Linux. Java 11 LTS OpenJDK flavors are slated to receive support up to 2030. ![]() It’s recommended to use Java LTS (long-term support) release as it will receive updates for the longest period. What is Amazon Corretto?You know, Amazon Corretto is a no-cost, multiplatform, production-ready distribution of OpenJDK. At the time of writing this article, the latest LTS release is Java 11. ![]() In this article, I will guide you how to download and install Amazon Corretto JDK (version 8 or 11) on Windows operating system – as an alternative to OpenJDK or Oracle JDK. diegopacheco/java8-centos-amazon-linux.md Remove java 7 sudo yum remove -y java Install basic packages sudo yum install -y git Download and install java 8. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |