# How to import Java Libraries (.jar files)

**URL:** <https://forum.inductiveautomation.com/t/how-to-import-java-libraries-jar-files/115190>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [April 21, 2026, 8:31pm UTC](https://forum.inductiveautomation.com/t/how-to-import-java-libraries-jar-files/115190 "2026-04-21T20:31:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 21, 2026, 8:34pm UTC](https://forum.inductiveautomation.com/t/how-to-import-java-libraries-jar-files/115190/2 "2026-04-21T20:34:51Z")

</div>

`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).

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-import-java-libraries-jar-files/115190)._
