Unless you want to have multiple Javas coexist, you should remove the Java you have just installed. ** (Because even if you install the old version, the Java you normally use will be the new version) **
If you want to switch as needed, you need to change the environment variables. See below for details How to use multiple Java properly
This will uninstall the selected Java.
Go to the following and download the required version of the java file To java download page
Since it has the following form, download java suitable for the OS required this time
The "Java Runtime Environment (JRE)" contains only the Java execution environment. The "Java Development Kit (JDK)" includes packages for developers in addition to the JRE.
After that, if you follow the instructions on the screen, Java installation is complete!