Watch this video on YouTube
Step by step guide to install Java JDK on Windows and set JAVA_HOME so build tools and IDEs can find the correct Java