@@ -89,8 +89,9 @@ let result = stdenv.mkDerivation rec {
8989 armv7l-linux = "linux-arm32-vfp-hflt";
9090 aarch64-linux = "linux-arm64-vfp-hflt";
9191 }.${stdenv.hostPlatform.system};
92+ javadlPlatformName = "linux-i586";
9293 in fetchurl {
93− url = "http://download.oracle.com/otn-pub/java/jdk/${productVersion}u${patchVersion}-b${buildVersion}/${releaseToken}/jdk-${productVersion}u${patchVersion}-${platformName}.tar.gz";
94+ url = "http://javadl.oracle.com/webapps/download/GetFile/1.${productVersion}.0_${patchVersion}-b${buildVersion}/${releaseToken}/${javadlPlatformName}/jdk-${productVersion}u${patchVersion}-${platformName}.tar.gz";
9495 curlOpts = "-b oraclelicense=a";
9596 sha256 = sha256.${stdenv.hostPlatform.system};
9697 };