LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error installing java 6 on ubunto 10.04 (https://www.linuxquestions.org/questions/linux-software-2/error-installing-java-6-on-ubunto-10-04-a-4175498060/)

Aska123 03-13-2014 10:26 AM

Error installing java 6 on ubunto 10.04
 
I used following command to install java
wget http://download.oracle.com/otn-pub/j...linux-i586.bin

but I got error
Resolving download.oracle.com... 180.149.59.146, 180.149.59.138
Connecting to download.oracle.com|180.149.59.146|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/j...linux-i586.bin [following]
--2014-03-13 08:24:45-- https://edelivery.oracle.com/otn-pub/j...linux-i586.bin
Resolving edelivery.oracle.com... 23.57.230.140
Connecting to edelivery.oracle.com|23.57.230.140|:443... connected.
ERROR: certificate common name `www.oracle.com' doesn't match requested host name `edelivery.oracle.com'.
To connect to edelivery.oracle.com insecurely, use `--no-check-certificate'

Ser Olmy 03-13-2014 10:43 AM

I would suggest:
Quote:

Originally Posted by Aska123 (Post 5133935)
To connect to edelivery.oracle.com insecurely, use `--no-check-certificate'

I would also like to add that you're trying to download (and I presume, install) an ancient version of the JRE, which has numerous serious, exploitable security vulnerabilities that will never be patched.

snowday 03-13-2014 11:01 AM

The best possible outcome is that you will have an obsolete and insecure Java running on an obsolete and insecure Ubuntu.

Here are the official instructions to install a supported Java on a supported Ubuntu release: https://help.ubuntu.com/community/Java


All times are GMT -5. The time now is 10:51 AM.