Add a command line option to load a JAR library
Discussed in https://github.com/logisim-evolution/logisim-evolution/discussions/2962
Originally posted by Aaaaa-as September 5, 2026 I'm trying to develop a JAR mod, and for convenience, I tried to make Logisim run automatically with libraries loaded through Gradle, but it only loads .circ files, which is inconvenient.
One described use case by @Aaaaa-as is:
This is primarily needed to speed up JAR library development, as manually loading them for each test takes quite a bit of time. It would be very useful to add the ability to load JAR libraries via a command-line argument.
One could also think of generalising this feature to load more than one JAR library through the command line and also generalise the feature to load (hidden) built-in libraries and Logisim-evolution libraries (.circ files).
One point of discussion is whether this duplicates already existing functionality offered via templates, which can be loaded via the -u command line option.
Before a PR is made in this direction, the changes to the command line interface and actual scope for a PR should be first discussed in this issue.
Source: logisim-evolution/logisim-evolution