I am working in a project where I've native dependencies managed by lein (i.e rxtx) and native dependencies managed externally (Matlab). Documentation says that one should use jvm-opts to set the value of java.library.path. Following correctly sets the property,
Changes the path to target/native/linux/. Checking CLI options used by lein, both -Ds are there however the one added by lein overrides the user supplied one.
I am working in a project where I've native dependencies managed by lein (i.e rxtx) and native dependencies managed externally (Matlab). Documentation says that one should use
jvm-opts
to set the value ofjava.library.path
. Following correctly sets the property,However if you add a native dependency,
Changes the path to
target/native/linux/
. Checking CLI options used bylein
, both-D
s are there however the one added bylein
overrides the user supplied one.