extcheck

Debian Debian
RUN apt-get update && \ apt-get install -y openjdk-7-dbg
Ubuntu
RUN apt-get update && \ apt-get install -y openjdk-7-dbg
Arch Arch Linux
RUN pacman -S --noconfirm jdk8-openjdk
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y openjdk-8-jdk-headless
Fedora
RUN dnf install -y java
Raspbian
RUN apt-get update && \ apt-get install -y openjdk-8-jdk
click the source code to copy install extcheck on any operating system with command-not-found.com