Durga Ojha
asked on
Getting error while installing Oracle JDK 7 on Ubuntu 14.4
302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1499150225_7c8888245a3ac92875923c1caa8b317c [following]
--2017-07-04 12:05:05-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1499150225_7c8888245a3ac92875923c1caa8b317c
Connecting to download.oracle.com (download.oracle.com)|49.2 00.255.202 |:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-07-04 12:05:06 ERROR 404: Not Found.
download failed
Oracle JDK 7 is NOT installed.
Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1499150225_7c8888245a3ac92875923c1caa8b317c [following]
--2017-07-04 12:05:05-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1499150225_7c8888245a3ac92875923c1caa8b317c
Connecting to download.oracle.com (download.oracle.com)|49.2
HTTP request sent, awaiting response... 404 Not Found
2017-07-04 12:05:06 ERROR 404: Not Found.
download failed
Oracle JDK 7 is NOT installed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks anyway .. I was trying to install Oracle JDK 7 but it seems the repo has been removed ... so installed JDK8
Wired...
I'm using "sudo apt-get install openjdk-7-jdk" on my Ubuntu 14.04 and is working as expected... maybe you has something wrong with your Ubuntu packages management. Anyway great to hear that you were able to install java 7.
I'm using "sudo apt-get install openjdk-7-jdk" on my Ubuntu 14.04 and is working as expected... maybe you has something wrong with your Ubuntu packages management. Anyway great to hear that you were able to install java 7.
ASKER
@Mauricio I was talking about Oracle JDK
In my opinion you should try install OpenJDK 7 from ubuntu packages. It's the same as Oracle's ones , there are some minor changes over the jdk policy files in $JAVA/jre/lib/security/, nothing more.
Try:
sudo apt-get install openjdk-7-jdk
I you still want the oracle version you should go to the web page: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html. Be aware that you will need a Oracle User account created before download the jdk.
Mauricio