# Getting the NetPrologo extension to work

**URL:** <https://forum.netlogo.org/t/getting-the-netprologo-extension-to-work/539>\
**Category:** Implementation Assistance\
**Tags:** en\_GB\
**Created:** [April 22, 2025, 8:03am UTC](https://forum.netlogo.org/t/getting-the-netprologo-extension-to-work/539 "2025-04-22T08:03:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruce.edmonds](https://forum.netlogo.org/user_avatar/forum.netlogo.org/bruce.edmonds/32/282_2.png) [@bruce.edmonds](https://forum.netlogo.org/u/bruce.edmonds)\
**Post date:** [April 22, 2025, 8:03am UTC](https://forum.netlogo.org/t/getting-the-netprologo-extension-to-work/539/1 "2025-04-22T08:03:08Z")

</div>

A recent paper caught my eye: " [Mind the Gaps: Logical English, Prolog, and Multi-agent Systems for Autonomous Vehicles](https://arxiv.org/abs/2502.09216)"

So I am trying to get the NetLogo ↔ SWI-Prolog extension “ **netprologo** ” to work, using their instructions: [https://github.com/LyzardKing/NetProLogo](https://github.com/LyzardKing/NetProLogo).

The problem seems to be in setting java.library.path so the extension can find the jpl library. I have tried all the steps suggested in the above (and many others found on the internet).

_Has anyone else used this extension?_ (especially on a Mac).

I am using NetLogo 5.3.1 (that what the extension is for), SWI-Prolog version 9.2.9, (which bundles the necessary JPL for Java-\<\>Prolog interaction) on a Mac (OS 14.7). The error message starts:  
java.lang.UnsatisfiedLinkError: no jpl in java.library.path  
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)  
at java.lang.Runtime.loadLibrary0(Runtime.java:870)  
at java.lang.System.loadLibrary(System.java:1122)  
…

(More details on request :-/ )

Many thanks
