Should be installed already but just in case: sudo apt install -y libjavascriptcoregtk-4.0-dev Then run ./build.sh you should see: Value: 2 from JSCore! at the end of the buffer