First, download
Each version of the official download link, you need to login account, slow download speeds, http://java.sun.com/products/archive/
Huawei mirror, incomplete version, download faster https://repo.huaweicloud.com/java/jdk/
Second, the installation