jar

Java applications/libraries packager. More information: <https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y gcj-4.7-jdk
Ubuntu
RUN apt-get update && \ apt-get install -y openjdk-12-jdk-headless
Arch Arch Linux
RUN pacman -S --noconfirm java-environment-common
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y openjdk-11-jdk-headless
Fedora
RUN dnf install -y java-9-openjdk-devel-debug-1
Raspbian
RUN apt-get update && \ apt-get install -y openjdk-8-jdk
click the source code to copy install jar on any operating system with command-not-found.com