How to Install and Uninstall ecj.x86_64 Package on Amazon Linux 2

Last updated: June 29,2024

1. Install "ecj.x86_64" package

Please follow the guidance below to install ecj.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install ecj.x86_64

2. Uninstall "ecj.x86_64" package

This tutorial shows how to uninstall ecj.x86_64 on Amazon Linux 2:

$ sudo yum remove ecj.x86_64 $ sudo yum autoremove

3. Information about the ecj.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : ecj
Arch : x86_64
Epoch : 1
Version : 4.5.2
Release : 3.amzn2.0.2
Size : 1.9 M
Repo : amzn2-core/2/x86_64
Summary : Eclipse Compiler for Java
URL : http://www.eclipse.org
License : EPL
Description : ECJ is the Java bytecode compiler of the Eclipse Platform. It is
: also known as the JDT Core batch compiler.