Can't run OpenJDK macOS Catalina "Can't verify it's not a Virus" I downloaded OpenJDK 13 from the official website and extracted it to my /Library/Java/JavaVirtualMachines/ folder. If I now try to run it with java -version I get a prompt saying something around the lines of "macOS can't verify it is not a Virus" and asks me if I want to delete it or cancel.


The Tar's Checksum matches the one from the Website.
I used sudo in order to move the folder, otherwise I got access denied
Running java as sudo changes nothing


Any ideas on how I can get OpenJDK 13 to install on MacOS Catalina?
Go to System Settings -> Security &amp; Privacy -> General -> click 'Allow' (below 'App-Downloads allowed from')

After that open a terminal and run java again (e.g. java -version).
A new Dialog should appear with the possibility to trust OpenJDK futurewise.