Need help updating Java for newest daily build

I’ve just updated from daily build 3545 to daily build 3559 on macOS, and experienced this issue:

Dec 02 02:29:32.985 Using Unable to locate a Java Runtime to invoke.

Dec 02 02:29:33.039 Unable to locate a Java Runtime to invoke.

After looking into it, it seems to be caused by this change in build 3558:

“macOS/Simulator: requesting Java 8 when building Android apps”

I have updated my Java version to Java 8 Update 231, but this has not fixed the issue. Am I meant to update something else instead/as well? I have done a full reboot in case and it made no difference.