Downgrade java 8 to 7

broken image
broken image

In order to figure out which RPM packages to install, we can ask the packaging system which ones provide the java binary:

broken image

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:

broken image

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 <