Download JDK onto a remote server

Posted by itsadok on Server Fault See other posts from Server Fault or by itsadok
Published on 2009-07-22T05:56:17Z Indexed on 2010/05/10 13:14 UTC
Read the original article Hit count: 336

Filed under:
|
|
|

I want to get the latest JDK onto a server in a remote location.

Downloading the JDK from Sun's website requires jumping through all kinds of hoops until you actually get the file. I'm not sure exactly if they use cookies or my IP address, but simply copying the file URL and trying wget on the server doesn't work.

Googling for mirrors of the JDK, I could only find old versions.

Right now I'm left with the option of downloading it into my computer, then uploading it to the server. This feels slow and stupid.

Anyone got a better idea?

EDIT: Thanks for all the replies. Just to clarify, as I'm writing this I'm rsyncing the 78MB file to my server. It should be done in about an hour, so it's not such a big deal. However, since this is not the first time I'm doing this, I was hoping for a better solution for next time.

Solution: What I ended up doing was

sudo aptitude install lynx-cur
www-browser http://java.sun.com/javase/downloads/

From there it's mostly using the arrow and enter keys, and answering "Yes" to a lot of lynx security questions (about cookies and certificates). Thanks to resonator.

© Server Fault or respective owner

Related posts about jdk

Related posts about mirror