javac

Java application compiler. More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/javac.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 javac on any operating system with command-not-found.com