How to Install and Uninstall java-1.7.0-openjdk-src.x86_64 Package on Amazon Linux 2

Last updated: December 27,2024

1. Install "java-1.7.0-openjdk-src.x86_64" package

Please follow the guidelines below to install java-1.7.0-openjdk-src.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install java-1.7.0-openjdk-src.x86_64

2. Uninstall "java-1.7.0-openjdk-src.x86_64" package

Learn how to uninstall java-1.7.0-openjdk-src.x86_64 on Amazon Linux 2:

$ sudo yum remove java-1.7.0-openjdk-src.x86_64 $ sudo yum autoremove

3. Information about the java-1.7.0-openjdk-src.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : java-1.7.0-openjdk-src
Arch : x86_64
Epoch : 1
Version : 1.7.0.261
Release : 2.6.22.2.amzn2.0.2
Size : 39 M
Repo : amzn2-core/2/x86_64
Summary : OpenJDK Source Bundle
URL : http://openjdk.java.net/
License : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and
: GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and
: MPLv1.1 and MPLv2.0 and Public Domain and W3C and zlib
Description : The OpenJDK source bundle.