[RESOLVED]Latest version of Unity fails to install JDK/SDK via Unity Hub.

I am going to have to try an older version of Unity where this is not bugged. What is the latest version which does not have this issue? I am going to try 2019.2.21, I’ll let you guys know the results tommorow.

2019.2.21 has errors regarding the installing of the ndk. Perhaps this is an error on my side? What should I do? Anyone know the most stable version of unity regarding porting to android?

Error:
ERROR: JAVA_HOME is not set and no ‘java’ command could be found in your PATH.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

looks like I accidentally messed up my JAVA_HOME in system prefs this is not Unity’s fault. it’s fixed now, my bad