File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Help cannot run JAR files on LINUX??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Help cannot run JAR files on LINUX???" Watch "Help cannot run JAR files on LINUX???" New topic

Help cannot run JAR files on LINUX???

Dpk Sharma

Joined: Nov 24, 2004
Posts: 1
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/ cannot open shared object file: No such file or directory

May the so
Petr Blahos
Ranch Hand

Joined: Apr 28, 2004
Posts: 131
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.


Get a better web browser:<br /><a href="" target="_blank" rel="nofollow"></a>
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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.


Java API Documentation
The Java Tutorial
subject: Help cannot run JAR files on LINUX???
It's not a secret anymore!