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?

Bob
  • 27
  • 2
  • 6
  • 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 '11 at 16:33
  • I am running Snow Leopard so terminal comes with the OS. I followed the instruction on http://www.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 '11 at 18:08

1 Answers1

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.

lhballoti
  • 806
  • 7
  • 17