Orange is my favorite color

Oracle recently switched to force everyone to acknowledge their license before downloading the JDK. That’s not a big deal, except that it doesn’t work from text-mode console browsers like lynx or elinks. Those of us who need Java on the server (like CentOS/RedHat) are stuck in an endless loop.

Thankfully @kdecherf hacked up a wget command to force-feed the proper cookies.

If you want to grab 1.6.0_31, replace the URL in his example with:

http://download.oracle.com/otn-pub/java/jdk/6u31-b04/jdk-6u31-linux-x64-rpm.bin

Note: I’ve already agreed to the terms from my desktop; I just can’t download it to the server.

Comments are closed.