How to Install and Uninstall libspi-java Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 21,2024

1. Install "libspi-java" package

Learn how to install libspi-java on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libspi-java

2. Uninstall "libspi-java" package

This guide covers the steps necessary to uninstall libspi-java on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libspi-java package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libspi-java
Priority: extra
Section: universe/java
Installed-Size: 33
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Version: 0.2.4-1
Filename: pool/universe/libs/libspi-java/libspi-java_0.2.4-1_all.deb
Size: 22592
MD5sum: 81c184cb9da97f1ba9231f374b8be1d3
SHA1: d6b8e290efb808c650c3b4cc279c5ac3978c27ca
SHA256: 21bbff56711f8266839ef22da78f812479310145ab0ac0885aa2df72c66f3dab
Description-en: Simplifies usage of Java Service Provider Interface
The usage of the Service Provider Interface in Java is a great way to make your
program more extensible. However, implementing and distributing such an
Interface is error prone.
.
One of the reasons is that the system depends on naming schemes and text files.
The name of an implementation should be put in a text file, located on the
classpath in a folder called META-INF/services/.
.
This project allows the programmer to use an Annotation, @ProviderFor, to flag
a class as an implementation of a certain interface. During compilation, the
necessary files are created at the appropriate locations. Also, the class is
inspected to see if it follows all rules applicable to Service Providers.
Compile time errors will be generated if those rules are broken, assisting the
programmer to create more robust code.
Description-md5: f00fcc8dd89b6db66bb152402866b7c3
Homepage: https://github.com/rspilker/spi
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu