Installing Oracle JDK 1.7 -- 404 error
1
vote
1
answer
2685
views
I'm trying to install Hadoop 2.7.3. on Elementary OS (which ~ Ubuntu, I believe) following the instructions in the _BUILDING.txt_ that came with the Hadoop files.
The file indicates that I need to install Oracle JDK 1.7 by going through the following steps:
$ sudo apt-get purge openjdk*
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
All works well until the last step, where it exits with an error message which I'm not sure what to make of (sorry if paste is too long; I'd be happy to edit it but Idk what's relevant):
--2017-05-26 10:58:06-- http://download.oracle.com/otn-pub/java/jdk/7u80-
b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com
(download.oracle.com)... 199.117.103.169, 199.117.103.171
Connecting to download.oracle.com
(download.oracle.com)|199.117.103.169|:80... connected. HTTP request
sent, awaiting response... 302 Moved Temporarily Location:
https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
[...]
[following]
--2017-05-26 10:58:06-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1495814405_54d4699c133b9ceee2666c152616ece6
Connecting to download.oracle.com
(download.oracle.com)|199.117.103.169|:80... connected.
HTTP request sent, awaiting response... 404 Not Found 2017-05-26
10:58:07 ERROR 404: Not Found.
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package oracle-java7-installer (--configure):
subprocess installed post-installation script returned error exit
status 1 dpkg: dependency problems prevent configuration of
oracle-jdk7-installer: oracle-jdk7-installer depends on
oracle-java7-installer; however: Package oracle-java7-installer is
not configured yet.
I figured
- the 404 is the main issue - it's looking for files but can't find them
So my question is
- Is that even true? What is the roadblock here?
- How can I fix it, or do I have to take another path?
(I am following White's _Hadoop - The Definitive Guide_ for the overall approach. )
Asked by patrick
(1022 rep)
May 26, 2017, 07:02 PM
Last activity: Aug 19, 2020, 04:39 PM
Last activity: Aug 19, 2020, 04:39 PM