It’s possible to have more than one version of Java in the same machine.
If you have more than one Java JRE or JDK installed you can switch between them with…