This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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
I agree. Here's the link:
subject: Help cannot run JAR files on LINUX???
It's not a secret anymore!