I have installed JDK 13.2. However, I cannot find a JRE in that version. I have tried to install the OpenJDK version of 13.2 as well. but still. I get the below, when i do Java - version. java version "1.8.0_241" Java(TM) SE Runtime Environment (build 1.8.0_241-b07) Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
also When i do Javac -version. i get 1.8.0.241
Because of this old version some of the latest functions are not working, for instance, i have to use Array.listAs instead of List.of
I tired to remove and re add the whole thing from Environment variable, but to no avail.
any thoughts pls?