Error on Mac Unable to find suitable JDK installation

I have reinstalled the JDK multiple times from here: http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Supposedly that should be enough for me to build an android APK, but it keeps coming up with the same error

Unable to find suitable JDK installation.
Please make sure you have a suitable JDK installation. Android development requires at least JDK 7 (1.7), having JRE only is not enough. The latest JDK can be obtained from the Oracle website
http://www.oracle.com/technetwork/java/javase/downloads/index.html

I can not find anything anywhere to solve this for mac that works.

Same problem, and once I go to the path in the unity preferences, I cannot select the folder.

–

1 Answer

1

You should go to /Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home

and choose home.

Thats it

This worked for me. In the new update for JDK you just need to select the home folder :)

–