From: Joe W. <jo...@gm...> - 2012-04-18 21:51:01
|
Hi all, If anyone needs to install the Oracle JDK on their remote server (e.g. Amazon EC2), using wget to initiate the JDK download from Oracle no longer works, since Oracle requires agreeing to the terms of service. You'll get a 302 error. The obvious workaround is to download the JDK locally and then SFTP the JDK up to Amazon. But if your upload bandwidth is as slow as mine, you might want to download directly to the remote server. This article has a good tip: http://shmuels.blogspot.com/2012/03/download-java-jrejdk-7-from-shell.html Basically, you still agree to the license terms on your local machine, and start the download; but you copy the URL for the file that is downloading; the URL contains an authentication parameter. Just paste the URL it into the remote server; then you can wget the JDK with no 302 error. It works nicely. (The background here is that the JDK is needed to run eXist, and some server operating systems don't come with the JDK installed.) Cheers, Joe |