How to Install and Uninstall libunsafe-mock-java Package on Kali Linux

Last updated: May 09,2024

1. Install "libunsafe-mock-java" package

This guide let you learn how to install libunsafe-mock-java on Kali Linux

$ sudo apt update $ sudo apt install libunsafe-mock-java

2. Uninstall "libunsafe-mock-java" package

This is a short guide on how to uninstall libunsafe-mock-java on Kali Linux:

$ sudo apt remove libunsafe-mock-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libunsafe-mock-java package on Kali Linux

Package: libunsafe-mock-java
Source: unsafe-mock
Version: 8.0-3
Installed-Size: 27
Maintainer: Debian Java Maintainers
Architecture: all
Size: 8128
SHA256: 9e679c75a07192c541e6f2ad9386a929ee65efbf7d65251c3500b0405eef1af4
SHA1: 81e6ab9488c2dabc1792e0a4f25cc000c492c18f
MD5sum: cb42b274ffb54a0517bc020572dcf921
Description: Java library providing backported sun.misc.Unsafe class from JDK 8
sun.misc.Unsafe is Java class in Oracle JDKs that provides a collection of
methods for performing low-level, unsafe operations.
.
Although the class and all methods are public, use of this class is limited
because only trusted code can obtain instances of it.
.
unsafe-mock provides a current version of sun.misc.Unsafe that
supports all APIs up through the new "fences" API in Java 8 EA builds
b71 and later. This Unsafe is a copy of the one from Java 8 EA build
b71, and it is expected that if you want to build against it you put
it in javac's bootclasspath. You are responsible for determining in
your own code whether you can access Unsafe and which methods are
available; this library is only to provide an all-inclusive Unsafe
against which you can compile using JDKs <= 8.0.
Description-md5: 7747000a8a1a405687763d9e244947fb
Homepage: https://github.com/headius/unsafe-mock
Section: java
Priority: optional
Filename: pool/main/u/unsafe-mock/libunsafe-mock-java_8.0-3_all.deb