In my Terminal, I run:
~/Java/jdk-12.0.1.jdk/Contents/Home/bin/java -version
I get a popup that says: “jdk-12.0.1.jdk” can’t be opened because its integrity cannot be verified.
This software needs to be updated. Contact the developer for more information.
Is there some way to mark this as a security exception?
If I go to System Preferences > Security & Privacy > General, I see that it was just blocked. If I click "Open Anyway", it opens the "jdk-12.0.1.jdk" folder in finder, but does not change the result above.