I'm trying to install Liferay on Ubuntu Server 12.04, which requires JRE and recommends version 6.
I can't find JRE6 in an authoritative repository, and I can't work out how to get past the licence agreement for a manual (wget) download.
Can I add a value to wget to accept the Oracle licence agreement and download the file?
Thanks
Best Answer
"Automated" Oracle Java Downloads (JRE/JDK 6/7 and others...)
Open Firefox, go to the Java downloads page for the version/variant you need, and click on the Accept License Agreement radio button.
Open a terminal, and paste this to extract the necessary Oracle session cookies from the Firefox SQLite cookie database into a
cookies
format text filewget
can use (source for script):Now use
wget
to download with those session cookies:Notes:
otn-pub
directorycookies
file and you can download from any computer (but there is a 30-minute timeout on the cookie, so beware)