How to Install and Uninstall libobjenesis-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 14,2024

1. Install "libobjenesis-java" package

Please follow the step by step instructions below to install libobjenesis-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libobjenesis-java

2. Uninstall "libobjenesis-java" package

Please follow the guidelines below to uninstall libobjenesis-java on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libobjenesis-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libobjenesis-java package on Ubuntu 21.10 (Impish Indri)

Package: libobjenesis-java
Architecture: all
Version: 3.1-1
Priority: optional
Section: universe/java
Source: objenesis
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 88
Suggests: libobjenesis-java-doc
Filename: pool/universe/o/objenesis/libobjenesis-java_3.1-1_all.deb
Size: 51540
MD5sum: eb291e1e4074ce677c4aa0cf2e6d7686
SHA1: 6a795a0161bac74dcd1c0747c86c155d08c8c3c3
SHA256: 567865e0010985e25ac623d9d692851580adc2bb2573a28905484a28d0b19f20
SHA512: 69aeac153965f84a1653cb0b3aa402bec6c506e88761ea5bd7a3de89c5ec23d1a4acf1a158939cf4a545b27f84fdf14d82ecb9013d428b6737d1351b834be93b
Homepage: http://www.objenesis.org/
Description-en: Java library to instantiate a new object of a particular class
Objenesis is a small Java library that serves one purpose: to instantiate a
new object of a particular class.
Java already supports this dynamic instantiation of classes using
Class.newInstance(). However, this only works if the class has an appropriate
constructor. There are many times when a class cannot be instantiated this
way, such as when the class contains:
* Constructors that require arguments.
* Constructors that have side effects.
* Constructors that throw exceptions.
As a result, it is common to see restrictions in libraries stating that
classes must require a default constructor.
Objenesis aims to overcomes these restrictions by bypassing the constructor
on object instantiation.
Description-md5: 41a22df421c52c7dab71183e98808e36