Take into account PROXY_HTTP if present to download jdk.