On the newer versions of macOS, one also has to set java.library.path
. The easiest/safest way to do that [1] is by creating ~/.sqldeveloper//sqldeveloper.conf
file and populating it as such:
AddVMOption -Djava.library.path=
[1] https://community.oracle.com/message/14132189#14132189