How to Install and Uninstall libobjenesis-java Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 05,2024
1. Install "libobjenesis-java" package
Please follow the steps below to install libobjenesis-java on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
libobjenesis-java
Copied
2. Uninstall "libobjenesis-java" package
Learn how to uninstall libobjenesis-java on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
libobjenesis-java
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libobjenesis-java package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: libobjenesis-java
Priority: optional
Section: universe/java
Installed-Size: 77
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: objenesis
Version: 2.2-1
Suggests: libobjenesis-java-doc
Filename: pool/universe/o/objenesis/libobjenesis-java_2.2-1_all.deb
Size: 44322
MD5sum: c7718cf494f6db7deb7113245832e0b5
SHA1: 9a2d9b61de1db244193100458142d469bc0a844d
SHA256: 6a10b43c10fd2bfa0e80358045121c55fba0f41632b7605526d94c82c7388fcc
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
Homepage: http://www.objenesis.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/java
Installed-Size: 77
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: objenesis
Version: 2.2-1
Suggests: libobjenesis-java-doc
Filename: pool/universe/o/objenesis/libobjenesis-java_2.2-1_all.deb
Size: 44322
MD5sum: c7718cf494f6db7deb7113245832e0b5
SHA1: 9a2d9b61de1db244193100458142d469bc0a844d
SHA256: 6a10b43c10fd2bfa0e80358045121c55fba0f41632b7605526d94c82c7388fcc
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
Homepage: http://www.objenesis.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu