How To Install hawtjni on CentOS 7
Introduction
In this tutorial we learn how to install hawtjni
on CentOS 7.
What is hawtjni
HawtJNI is a code generator that produces the JNI code needed to implement java native methods. It is based on the jnigen code generator that is part of the SWT Tools project which is used to generate all the JNI code which powers the eclipse platform.
We can use yum
or dnf
to install hawtjni
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install hawtjni.
Install hawtjni on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install hawtjni
using yum
by running the following command:
Install hawtjni 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 hawtjni
using dnf
by running the following command:
How To Uninstall hawtjni on CentOS 7
To uninstall only the hawtjni
package we can use the following command:
References
Summary
In this tutorial we learn how to install hawtjni
on CentOS 7 using yum
and dnf
.