Before installing JDK, it’s imperative to check whether your computer is compatible with the JDK version. JDK is compatible with Windows 11/10/8/7, but you need to be running the 64-bit version ...
but the basics is that your CPU architecture needs to be 64-bit. Once you pass that, you'll be good to go. Also, keep in mind that JDK installers only work with one Java release at a time.