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

Last updated: November 26,2024

1. Install "libcommons-exec-java" package

Please follow the step by step instructions below to install libcommons-exec-java on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libcommons-exec-java

2. Uninstall "libcommons-exec-java" package

This tutorial shows how to uninstall libcommons-exec-java on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libcommons-exec-java $ sudo apt autoclean && sudo apt autoremove

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

Package: libcommons-exec-java
Priority: optional
Section: universe/java
Installed-Size: 114
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: commons-exec
Version: 1.3-1
Filename: pool/universe/c/commons-exec/libcommons-exec-java_1.3-1_all.deb
Size: 46540
MD5sum: 1dbf9334e7c01dc698aab86ea39980b5
SHA1: 194ed87a08dc2bec79537d77aa9b270393cfbb53
SHA256: 572b6425fbfbf520b8fa71db78b9809ca706828b130098a25c44da747081cde4
Description-en: Java library to reliably execute external processes from within the JVM
Executing external processes from Java is a well-known problem
area. It is inherently platform dependent and requires the developer
to know and test for platform specific behaviors, for example
using cmd.exe on Windows or limited buffer sizes causing deadlocks.
The JRE support for this is very limited, albeit better with the
new Java SE 1.5 ProcessBuilder class.
.
Reliably executing external processes can also require knowledge of
the environment variables before or after the command is executed. In
J2SE 1.1-1.4 there is no support for this, since the method,
System.getenv(), for retrieving environment variables is deprecated.
.
There are currently several different libraries that for their own
purposes have implemented frameworks around Runtime.exec() to handle
the various issues outlined above. The commons-exec package aims
at coordinating and learning from these initiatives to create and
maintain a simple, reusable and well-tested package.
Description-md5: 6266048c286f13128004a19abae85f72
Homepage: http://commons.apache.org/exec/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu