missing recommended JDK but can't install module through Hub (Unity 2019.4.4f1 LTS)

The title might be confusing so let me elaborate.

I had to install Unity 2019.4.4f1 from the website cause when I try to install from the Hub, it’s not shown as an option. Therefore, since I have it downloaded from the archives I can’t do the simple “Add Modules” option. I know I can download it separately so I’ve tried downloading it from the java site and selecting it in the preferences, but the following error pops up.


if I’m not selecting the right JDK file to download, then where can I get the updated recommended version? Since I can’t go through the Hub I’m lost on where to go.

If important I should note I’m using Unity 2019.4.4f1 in the Android mode since I’m trying to make a mobile game. This is also in 2D, though frankly I don’t know if it’s of any importance to the situation.

the error sais you have installed jre, not jdk are you sure you have installed the jdk and not the jre? also remember you need to untick the checbox that sais “JDK installed with unity” and select the path to the jdk that in the screenshot is missing