Install libosgi-foundation-ee-java by entering the following commands in the terminal:
sudo apt update sudo apt install libosgi-foundation-ee-java
Description:
Java OSGi API - Foundation Execution Environment
OSGi, for Open Services Gateway initiative framework, is a module system and service platform for the Java programming language. . This package contains OSGi Foundation Execution Environment for Release 4 Version 4.2. This provide Java interfaces for javax.microedition package (J2ME) and java.net/java.lang/java.io/java.util packages (J2SE).
Homepage: http://www.osgi.org/Specifications/HomePage
Version: 4.2.0-4
Section: universe/java