How to import Java Libraries (.jar files)

I'm in ignition 8.3, I am trying to import some .jar files.

Libraries | Ignition User Manual
This page in the manual tells you how to do it with python files, but despite having a java section, there is no path to dump jar files.

I am trying to import the SAP Java Connector into jython, but it keeps telling me the library is not there.

My colleague on windows was able to dump into ignition/lib/core/gateway.
I tried this on linux, specifically within docker and it didn't work.

I also tried this ignition/user-lib/pylib and it didn't work.
I asked our loard and savior chatGPT and it mentioned to put in ignition/user-lib/jars folder which doesn't exist. We have to commend the creativity of AI sometimes.

I guess the real question here is, where can I dump my jars for ignition to pick it up? I saw some other forum posts saying we need to create a custom module to bring in my jars in the supported way, but this is an ocean for me right now and am hoping to get a quick fix just to test functionality.

lib/core/{scope} is generally the quick and dirty place to do it.

If you only tried lib/core/gateway, then assuming you restarted the Gateway, it would only be available in the Gateway scope (tag scripts, project scripts, etc...), so if you tried something in e.g. the Designer Script Console it wouldn't and shouldn't work.

SAP JCo has its own extra issues that you can search the forum to find out about. At least in old versions, it had certain expectations about the name of the JAR file itself, which isn't compatible with how Ignition loads JAR files (copying them to a temp dir and pointing the ClassLoader there).

Thanks Kevin,

I put it in common and it worked, but only after a gateway + designer restart.