I am looking for the latest instructions on how to import third party .jar files and make the java classes available to Ignition's Python/Jython scripting environment (Ignition version 8.1).
My specific use case is trying to use the AWS Java SDK to export files to AWS S3 buckets. My plan is to use the v1 SDK as it has a downloadable .jar file. v2 is available but seems to require creation of a maven project and that is a little beyond my limited java know-how (at present).
A few old forum threads discuss packing the .jar file with Pack200 and placing the packed and unpacked files in lib/core/gateway , lib/core/client , lib/core/designer , or lib/core/common folders, depending on the scope you want to be able to access them in. But those form threads are quite old and seem to apply to v7.9. Those same threads suggest that method is not officially supported.
Does Jsch have dependencies? You'll need to examine your gateway wrapper log shortly after startup to look for library problems. (Not the logs from the web page--the wrapper log text file.)
The wrapper log doesnt show an error
After checking, what doesnt work is the implementation on the designer.
Gateway-scoped scripts seem to find the functions on the Jsch.jar
For some reason the designer doesn't seem to see the jar