-
Notifications
You must be signed in to change notification settings - Fork 35
Runtime Options
Phil Beauvoir edited this page Feb 21, 2021
·
3 revisions
See https://forum.archimatetool.com/index.php?topic=958.0 for the background.
If you want to add a Java jar named extension.jar
to the runtime classpath so that you can access its Java classes from a jArchi script:
Add this to the Archi.ini
file:
-Dnashorn.args=-cp path_to/extension.jar
Add this to the script file:
Java.addToClasspath("path_to/extension.jar");
See this bug concerning using jar files: https://github.com/oracle/graaljs/issues/413
If you value and use Archi please consider making a donation. Thanks!