How Do I Install Java on Amazon Linux?

How Do I Install Java on Amazon Linux?
Contents

How do I install Java on AWS?

Following steps must be followed sequentially :

  1. Step 1 -> Ssh to your instance. …
  2. Step 2 -> Check the Java version. …
  3. Step 3 -> Download RPM package of Oracle JDK (8u121) …
  4. Step 4 -> Install JDK 8. …
  5. Step 5 -> Verify oracle JDK version. …
  6. 3 thoughts on “Hotfix To Install Latest Oracle JDK On Linux EC2 Instance (CentOS)1 min read”

8 февр. 2017 г.

How do I install Java on Linux?

Change to the directory in which you want to install.

  1. Change to the directory in which you want to install. Type: cd directory_path_name. …
  2. Move the . tar. gz archive binary to the current directory.
  3. Unpack the tarball and install Java. tar zxvf jre-8u73-linux-i586.tar.gz. …
  4. Delete the . tar.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.