Cómo actualizar Java en Windows 10
1- open your internet browser
2- type java
3- choose the first link "Download Free Java Software"
4- press download button
5- after downloading it allow access and press the install button
6- choose "Do not update browser settings"
6-a pop-up message will appear after installing it "Out-of-date Java versions Detected"
7- click the uninstall button in that way your computer will automatically uninstall the outdated version and update it in the latest version.
Steven2003