Exception in thread “main” java.lang.UnsatisfiedLi

2019-08-16 16:15发布

问题:

I was trying to run the CHARVA Tutorial thru Eclipse after setting up the JAR, but I receive

Exception in thread "main" java.lang.UnsatisfiedLinkError: no Terminal in java.library.path

in the console. Any clue on how to fix this up?

回答1:

As Dave said, Charva requires a native library called Terminal to run. As far as I remember, it is included in the binary distribution for Charva.

Eclipse-specific instructions: In your project properties, select Java Build Path, then Libraries. Locate the jar and set the Native library location to the path where the Terminal library is.