I ran into the same issue after running brew upgrade.
For me the solution was to install official JDK 11, not brew's openjdk. No matter what I tried, I couldn't get neoj4 to recognize that I have openjdk@11 via brew installed.
https://www.oracle.com...