update-java-alternatives

Base of all Java packages

Debian Debian
RUN apt-get update && \ apt-get install -y java-common
Ubuntu
RUN apt-get update && \ apt-get install -y java-common
Alpine
RUN apk add java-common
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y java-common
Raspbian
RUN apt-get update && \ apt-get install -y java-common
click the source code to copy install update-java-alternatives on any operating system with command-not-found.com