Install libnative-platform-java by entering the following commands in the terminal:
sudo apt update sudo apt install libnative-platform-java
Java bindings for various native APIs
A collection of cross-platform Java APIs for various native APIs. Supports OS X, Linux, Solaris and Windows. . These APIs support Java 5 and later. Some of these APIs overlap with APIs available in later Java versions.