5/30/2023 0 Comments Java 1.8 downloadYou also found instructions to switch between multiple java versions. In this tutorial, you have learned to install Java 11 and Java 8 on Amazon Linux system. OpenJDK 64-Bit Server VM 18.9 (build 11.0.7+10-LTS, mixed mode, sharing) OpenJDK Runtime Environment 18.9 (build 11.0.7+10-LTS) alternatives -config javaĪfter switching let’s check again active Java version: java -version Run below command from the command line and select the appropriate Java version to make it default. Use alternatives command-line utility to switch active Java version on your Amazon Linux system. OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode) Run below commands to install Java 8 on Amazon Linux: sudo yum install java-1.8.0-openjdkĪfter successfully installing Java on Amazon Linux using the above steps, Let’s verify the installed version using the following command.Run below commands to install Java 11 on Amazon Linux: sudo amazon-linux-extras install java-openjdk11.You can simply install Java 11 or Java 8 on the Amazon Linux system using the following commands. The OpenJDK 8 is available under default yum repositories and OpenJDK 11 is available under Amazon Linux 2 extras repositories. There can be multiple JDKs installed on a system, as many as you wish. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'. Advertisement Step 1 – Install Java on Amazon Linux If you have not yet installed Apples Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app.
0 Comments
Leave a Reply. |