14 July 2021 Update

As of today, you simply need to download and install version 21.2 of SQL Developer. We’ve properly signed and registered the app with Apple.

If you’re stuck (for reasons) with an older version of SQL Developer, read on. But seriously, just upgrade.

If you have version 20.4.1 or older…

I’ve already talked about managing versions of Java and the JDK on Macs in this post.

In this post I want to talk about this ugly warning:

Image
Just Click ‘Ok’

‘Oracle … can’t be opened because Apple cannot check it for malicious software.’

You don’t really need to wait for an update from us, you can tell your Mac it’s OK to run right now! Read on, and you’ll be going in a minute or 3.

By the way, we have notarized the SQL Developer and SQL Developer Data Modeler apps for OS X. However, we ship 3rd party JARs, and those ALSO have to be notarized, else Big Sur gets cranky and you’ll see this message.

Anyways, after clicking ‘Ok’ – go to your System Preferences and navigate over the Security screen.

You’ll see that OS X has recognized it denied you access to an app that YOU installed.

Click ‘Open Anyway.’

If you don’t see this, it’s probably because you haven’t clicked ‘Ok’ to the first warning dialog yet.

Once you’ve done this, you’re going to be a bit closer.

Try to open the app again, and you’ll now see this –

Click ‘Open’ and Modeler or SQL Developer should open right up.

You’ll only have to do this nonsense once. And hopefully we can get those 3rd party library/jars signed later this year so it’s easier on everyone involved.

If you’re not seeing SQLDev show up even after all of this, go look at this article again and make sure your Java is sorted.

And hopefully now you’re here – ready to rock’n’roll again.

Woohoo!

Speaking of Java, we’re talking about distributing the oracle JDK home WITH the app for OS X, just like we do for Windows. If you think that’s a good idea, feel free to leave a comment below.

And finally, these instructions are also spelled out in the OS X support pages here.

Author

I'm a Distinguished Product Manager at Oracle. My mission is to help you and your company be more efficient with our database tools.

7 Comments

  1. Mac BigSur 11.5.1 (20G80) has problem with rendering texts in the SQL Developer….Have you come across any of this problem with the latest version of Mac?

  2. Markus Anderson Reply

    Unfortunately, this doesn’t work on the latest Big Sur (11.4). Interestingly enough, I did find a way but it took two specific “requirements” beyond the excellent instructions you provided here: 1) use JDK 11 (couldn’t make 8 work), and 2) the only way to get the GUI to launch is by invoking the internal script directly from Mac’s Terminal. So, AFTER completing Jeff’s instructions above, continue with these additional steps.

    From Terminal …. this assumes you’ve placed SQLDeveloper in your ‘Applications’ folder on your Mac):

    1) type the following without equation marks (a single space after ‘zsh’): “zsh /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper.sh”

    2) press Enter on your keyboard.

  3. Thomas Voßen Reply

    I would definitely appreciate a bundle of SQL-Developer with the JDK.

    For example if you need different JDK versions because one application requires JDK8, the other applications require JDK11 and the next application want JDK16. Managing this with a global JDK is no fun at all.

    Because of this I pretty much in favor of wasting a few MBytes of storage and bundling each application with the appropriate JDK/JRE.

    • Just an fyi for right now, sqldev does have a flag where you can tell us which jdk/java home to use vs the system default.

Reply To Sharat Cancel Reply