Why can't I install Oracle Java 6? - Ask Ubuntu


i'm trying install java 6 jre on ubuntu 16.04.

as have done many times before, did:

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer 

... gave me error:

 downloading oracle java 6... --2016-11-10 08:51:35--  http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin resolving download.oracle.com (download.oracle.com)... 146.57.254.26, 146.57.254.43 connecting download.oracle.com (download.oracle.com)|146.57.254.26|:80... connected. http request sent, awaiting response... 302 moved temporarily location: https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin [following] --2016-11-10 08:51:35--  https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin resolving edelivery.oracle.com (edelivery.oracle.com)... 23.209.61.60, 2600:1418:3:1a2::2d3e, 2600:1418:3:18b::2d3e connecting edelivery.oracle.com (edelivery.oracle.com)|23.209.61.60|:443... connected. http request sent, awaiting response... 302 moved temporarily location: https://www.oracle.com/splash/edelivery/index.html [following] --2016-11-10 08:51:35--  https://www.oracle.com/splash/edelivery/index.html resolving www.oracle.com (www.oracle.com)... 23.209.61.60, 2600:1418:3:1a2::2d3e, 2600:1418:3:18b::2d3e connecting www.oracle.com (www.oracle.com)|23.209.61.60|:443... connected. http request sent, awaiting response... 503 service unavailable 2016-11-10 08:51:35 error 503: service unavailable.  download failed 

does know if oracle's java 6 gone forever?

i guess i'm going go openjdk source maybe knows of workaround oracle java?

yes, it's gone forever unless have support contract oracle.

java 6 no longer provided general public oracle because it reached end-of-life way in february 2013, can't download oracle unless have support contract oracle, allows manually download (after logging in) until december 2018.

i'd recommend using java 8 or later. still gets security updates, , compile , run java 6 programs fine. if need compile run on java 6 jvm, you need add -target 1.6 javac line.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User