Import a local .jar
mpdairy opened this issue · 2 comments
mpdairy commented
How would one import from a local .jar
file? Would I have to install it globally?
facundominguez commented
Hello! The jar needs to be in the classpath both when building and when
running the program. There are no other particular constraints on the
location.
facundominguez commented
Also, it the application is using Foreign.JNI.withJVM
, the classpath can be specified with it as shown in https://github.com/tweag/inline-java/tree/master/examples/classpath