I am trying to install an IOTA full node and everything works fine until it tries to install the java jdk 8
TASK [iri : Download java jdk rpm] ********************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "dest": "/tmp/jdk-8u152-linux-x64.rpm", "failed": true, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "state": "absent", "status_code": 404, "url": "http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-x64.rpm"}
to retry, use: --limit @/opt/iri-playbook/site.retry
PLAY RECAP ********************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Yes.
sing default oracle-java8-installer wgetrc settings for it.
Downloading Oracle Java 8...
--2018-01-18 20:26:53-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.45.100.92
Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]
--2018-01-18 20:26:53-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 104.109.81.24, 2a02:26f0:10:5a1::2d3e, 2a02:26f0:10:591::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|104.109.81.24|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516300133_ed687729ba16f965f10e616e9e723d90 [following]
--2018-01-18 20:26:53-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516300133_ed687729ba16f965f10e616e9e723d90
Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-18 20:26:53 ERROR 404: Not Found.
download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
To install the latest Java Development Kit (JDK) on your system, you can follow these steps. The process differs slightly depending on the operating system you are using. Below are the instructions for installing the latest JDK on Ubuntu (or other Debian-based distributions) and CentOS (or other RHEL-based distributions). Additionally, I’ll provide a method to install JDK on Windows.
sudo apt update
sudo apt install openjdk-17-jdk
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.