Thanks for your interest in NetLogo and sorry you ran into this trouble with it.
First, I would recommend using NetLogo 6.2.2 if possible. We did have an update to try to get that library file signed properly so it wouldn't "bother" macOS.
Next, make sure you have macOS set to allow programs from outside the App store. Under your **System Preferences** open **Security & Privacy** and select the **General** tab. There should be an option there to "Allow apps downloaded from:", make sure **App
Store and identified developers** is selected.
Another thing to try is to right-click the **NetLogo
6.2.2.app** and select **Open** instead of double-clicking the executable to open.
Another thing to try is to check the **Security & Privacy** settings after NetLogo fails to open to see if it is listed there as an exception that can be added to let it open permanently.
If none of that helps, you can try a workaround we have found. Open the **Terminal** app and run the following command to disable security restrictions on the NetLogo app. You'll need to enter your macOS logon password when you run it.
sudo xattr -dr com.apple.quarantine /Applications/NetLogo\ 6.2.2/NetLogo\
6.2.2.app
Since you're particularly having trouble with the libjli.dylib file, you might have to do (I think this file path is right, I don't have a macOS system to check at the moment):
sudo xattr -dr com.apple.quarantine /Applications/NetLogo\ 6.2.2/JRE/Contents/MacOS/libjli.dylib
If none of that helps, let me know and I'll see if I can come up with something else to try. Also, let me know what steps you did take to try to get things working. Thanks for your patience!