3.5.9 Troubleshooting - Tomato6966/Debian-Cheat-Sheet-Setup GitHub Wiki

1. update and upgrade!

sudo apt update
sudo apt upgrade

2. install the following to trouble shoot problems:

sudo apt default-jdk install apt-transport-https ca-certificates wget dirmngr gnupg software-properties-common
  1. retry again!

Versions and Download Links Click here to see all available versions

OPTIONAL TO SWAP THE VERSION:

sudo update-alternatives --config java