How To Install janino on CentOS 7
Introduction
In this tutorial we learn how to install janino
on CentOS 7.
What is janino
Janino is a super-small, super-fast Java compiler. Not only can it compile a set of source files to a set of class files like the JAVAC tool, but also can it compile a Java expression, block, class body or source file in memory, load the byte-code and execute it directly in the same JVM. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or “server pages” engines like JSP.
We can use yum
or dnf
to install janino
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install janino.
Install janino on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install janino
using yum
by running the following command:
Install janino on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install janino
using dnf
by running the following command:
How To Uninstall janino on CentOS 7
To uninstall only the janino
package we can use the following command:
References
Summary
In this tutorial we learn how to install janino
on CentOS 7 using yum
and dnf
.