I am using Safari 12 running on macOS Mojave 10.14. The Web based VM detects the installed version of Java on my Mac as 1.5. For my particular needs version 1.6 is required.
I have installed the latest JRE 1.8. I also tried to install the JDK 11 (could not find only the JRE).
At the moment, on my Mac, I have Java 1.6, 1.8 and 11 in the folder
At the same time, I have a JavaAppletPlugin installed in
/Library/Internet Plug-ins/ folder, but I don't know from which version.
In System Preferences, I have the Java item, but there is no option to add multiple paths to Java, like it used to be before, and only Java 1.8 seems to be recognized.
How do I tell Safari to use a more recent version of Java?