I am using macOS Monterey (v 12.0.1). Below is my Java version :
$ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
First of all I do not understand "1.8.0_281"
, does it mean it is java 8
?
I want to update the Java version to 11. So, I have downloaded and installed jdk-11.0.13_osx-x64_bin.dmg
, it shows successfully installed. But now when I check java -version
still it shows java version "1.8.0_281"
. How can I update my java version to java 11 ?