Can't open Processing app, unable to load JRE

I’m running macOS Monterey on an 2019 MacBook and when trying to open processing it prompts “unable to load JRE”. I’ve uninstalled and reinstalled java jre many times, also I’ve installed idk and neither of those helped me.