среда, 21 августа 2013 г.

Download and install Oracle Server JRE7

Let's show how to download and install Oracle Server JRE7 from Oracle Download Site on our CentOS server.

First, you should go to download page Java SE Downloads, select JRE7 and accept license agreement. Then please check cookies that are set when you accept licence agreement. We need that cookie: gpw_e24. Just execute following command:

wget \
--no-check-certificate \
--no-cookies \
--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjre7-downloads-1880261.html" \
http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jre-7u25-linux-x64.rpm

Then execute RPM:
sudo rpm -ivh jre-7u25-linux-x64.rpm

Комментариев нет:

Отправить комментарий