why jdk download requires login?
Because it is public. It's required only to access to the archive containing the older versions of Java. You don't need an account to download the current version of the JDK.