2

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?

  • Firstly, welcome to Ask Different! :) I hope you come to find this site has a lot to offer! In case you haven't already, it's worth taking the time to read the tour. All the best with getting OpenJDK 13 installed. – Monomeeth Oct 9 at 9:28
1

system settings -> security -> click 'allow' (below 'App-Downloads allowed from')

0

Turns out you have to go into Mac's Security settings and allow the JDK there after your ran it.

0

This usually happens because it wasn’t registered by an installer, which is why you get the error when you extract a tarball into a system directory but not when you use the pkg. If you want to use an installer package but don’t have a paid oracle subscription for versions above 8 you may have some luck using the supported openjdk which has signed packages on adoptopenjdk’s site.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .