Did you download the correct version of JDK?
I believe they have both 32 and 64 bit versions, at least had until Java 8 JDK. With Java 11 JDK they just have one single version per platform now.
https://www.oracle.com/technetwork/java/javase/downloads/index.html