In order to figure out which RPM packages to install, we can ask the packaging system which ones provide the java binary:
Let's consider we have a freshly commissioned Red Hat Enterprise Linux 8 machine and we'd like to use it for running Java applications. If you prefer to watch a short 4 minute demo video, here it is:
Yes, with JDK 11 you can directly run Java source files. $ /usr/lib/jvm/java-11-openjdk/bin/java HelloWorld.java $ cat > HelloWorld.java HelloWorld.java <