0

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?

2
  • Are you running on Windows or Linux? Basically, CHARVA uses the NCURSES library and thus you'll need the appropriate DLL or .so file in your library path.
    – Dave
    Jul 26, 2011 at 16:33
  • I am running Snow Leopard so terminal comes with the OS. I followed the instruction on pitman.co.za/projects/charva/Download.html but when I type in sh test.sh, nothing happened. not sure what is wrong....
    – Bob
    Jul 26, 2011 at 18:08

1 Answer 1

3

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.

1
  • Thanks, you are right that libTerminal is included, but adding to the native library path didn't work for me. Jan 29, 2012 at 5:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.