I'm working on some of my projects using Java 11, but some libraries are not available in this version. So I want to move to Java 8. However, I'm not able to remove Java 11 version and install Java 8. In my usr/lib/jvm
directory both versions of Java are shown (see screenshot).
How can I change the Java version from 11 to 8?