Generally Oracle will not allow to download directly without accepting their licences.
Step-4: Verify the installed Java Version.Step-3: Set Java Path in System Environment Variables.Step-2: Install Java JDK 8 on Windows 10.Step-1: Download Java JDK 1.8 for Windows 10 64-bit.