P4 & Monterey “could not find Java runtime environment”

2017 MacBook, Monterey
Processing 4 won’t start, error: could not find Java runtime environment
downloaded and installed Java, still same error.

I think you’re supposed to drag the application to the desktop or applications.