Title says it all. Installed (successfully, no errors) Java via HomeBrew on a fresh install of Mojave. From Terminal, I get the expected responses when I run things like
which java and
java -version (12.0.1 if that matters), but a desktop application I installed is telling me that it cannot load the runtime environment.
Another machine I have, same application and OS version, but I installed Java using the Oracle downloader, no errors and no issues. So I'm assuming that I need to set an environment variable or something, but I'm not sure what.