Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help cannot run JAR files on LINUX???

 
Dpk Sharma
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the foloowing error message whenever I try to run any jar file on LINUX........ Pls Help.....

The error message is


Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/j2sdk1.4.1/jre/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
 
Petr Blahos
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm, just a guess: Do you have compat-libstdc++ or libc-compat
installed? I might be wrong but I think a library like that is
needed. The exact name depends on a distro you are using.

P.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which JVM are you using? I've not had much luck with gjc (gcc's Java compiler) and the corresponding run-time, so I downloaded Sun's JDK and use it. I've not had a single problem with it.

Layne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic