This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Description
I am running the script on Ubuntu 12.04 LTS, though I suspect it would happen on any other version.
A failure occurs when attempting to retrieve the download for jdk-6u32-linux-i586.bin:
$ ./oab-java.sh
oab-java.sh v0.2.3 - Create a local 'apt' repository for Sun Java 6 and/or Oracle Java 7 packages.
Copyright (c) Martin Wimpress, http://flexion.org. MIT License
By running this script to download Java you acknowledge that you have
read and accepted the terms of the Oracle end user license agreement.
* http://www.oracle.com/technetwork/java/javase/terms/license/
If you want to see what this is script is doing while it is running then execute
the following from another shell:
tail -f /usr/local/src/oab-java6/oab-java.sh.log
[x] Installing Java build requirements success
[x] Making build directories success
[x] Removing clones of http://github.com/rraptorr/sun-java6 success
[x] Cloning http://github.com/rraptorr/sun-java6 success
[x] Checking out v6.32-2 success
[x] Getting Java SE download page success
[x] Getting previous releases download page success
[x] Downloading jdk-6u32-linux-i586.bin : failed
[i] Showing the last 5 lines from the logfile (/usr/local/src/oab-java6/oab-java.sh.log)...
16958's retcode: 0
success
[x] Downloading jdk-6u32-linux-i586.bin : http://: Invalid host name.
16976's retcode: 1
failed
This is because http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html no longer has any mention of jdk-6u32-linux-i586.bin for some reason.
I'm not sure what the appropriate resolution would be. Any thoughts?