With the command:
the result is:
openjdk version "1.8.0_362" OpenJDK Runtime Environment (build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)
although I installed openjdk19. This results in an error starting a java application that is compiled with newer java.
How can I get rid of openjdk 1.8.0?