Open up a Finder window.
In the "Go" menu select "Go To Folder..."
Type in /Library/Java and click "Go"
Open "JavaVirtualMachines"
Right Click (or Ctrl-Click, if you only have one button) on "jdk-14.jdk" and select "Move To Trash..."
You will need to type in your password to remove this folder.
Open the file you downloaded: jdk-8u241-macosx-x64.dmg
Double click "JDK 8 Update 241.pkg"
Follow the instructions.
Open the installer you downloaded, "eclipse-inst-mac64.dmg"
Double click the "Eclipse Installer" on you desktop, if it asks "Are you sure you want to open it?", click "Open"".
Select "Eclipse IDE for Java Developers.
Click "Install"