'Flyway - libjvm.dylib issue in MacOs

While I was setting up flyway on my Mac, when I tried to execute the command ./flyway info to verify all the configuration I've done properly, I used to get error saying -

libjvm.dylib” cannot be opened because the developer cannot be verified.


Solution 1:[1]

To resolve the above issue, I followed below mentioned steps:-

  1. Go to JRE LIB folder of flyway installation folder - for me this path looks
    something like this - flyway-8.5.4/jre/lib

  2. Type this command find . -type f -print0 | xargs -0 xattr -d com.apple.quarantine

  3. Click cancel on the original libjvm.dylib dialog and execute the flyway command again. It should resolved the issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rakesh