I am using Unity 2021.3.0f1 on ubuntu 20.04 and getting error:
UnityException: JDK not found
Java Development Kit (JDK) directory is not set or invalid. Please, fix it in Edit / Unity -> Preferences -> External Tools
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
but when I try to install through unityhub it shows that jdk is installed (Check screen shot below) .
so how can I reinstall it.
thank you in advance for helping me out
