Hi, tbh its been so long that I don’t remember how this works.
However since then I’ve moved onto use p5py a pure python implementation of processing which means you don’t have to fiddle around with java or extensions (Although you do have to get glfw which took me a while).
After using p5py for a while I realised there was pretty slow and a lot of overhead in how it worked. So I made my own implementation built on top of pyglet. I haven’t made it public yet as I got distracted by other projects but if someone wants to try it give me a push.