If you are unfamiliar with Java programming in the Debian operating system, this article will guide you towards writing and compiling the first Java program. We have run the commands and procedures mentioned in this article on Debian 10 system.
Source: LXer – How to Create your First Java Program in Debian 10