Currently I am getting issue with new macOS Catalina limitation. Every time I run an app that require openJDK I get this message:
"openjdk-12.0.1.jdk" can’t be opened because it is from an unidentified developer.
Your security preferences allow installation of only apps from the App Store and identified developers.
But if I use the recommended way to bypass this issue (by going to System Preferences → Security & Privacy → General → Open Anyway button) it just opens the JDK folder. Which is not what I want.
How I can use JDK with macOS Catalina?