JDK saying it's not installed.

Trying to export for android and it’s saying I need the latest version of jdk which I’ve already installed. How do I fix this?

Found the answer on another post. Had to copy java.exe to Windows folder.

You’ll need to go to windows control panel for this, then to System>Advanced Settings>Environment Settings (or variables, i can’t remember).

Then at the bottom you should see a button that says “New…”, click that and add “Path” as a variable name, then set the variable Path to wherever your JDK is installed, make sure it is JDK and not JRE as they are seperate things, Start the path with a semi colon and end it with /bin.

E.g ;C:\Program Files (x86)\Java\JDK (version)\bin.

Hopefully that should solve your problem.