Help - Search - Members - Calendar
Full Version: No Such File Or Directory?
Linuxhelp > Support > Technical Support
I have run into a slight problem, I have installed java SDK's on a Linux Kernel machine, but whenever I go to do a command I keep on getting the same error message (Note: the /usr/j2sdk1.4.2/bin/javac changes depending on the command I enter but the rest is the same)

/usr/j2sdk1.4.2/bin/javac: error while loading shared libraries: cannot open shared file: No such file or directory

I have re-installed the java SDK's several times but still end up with the same problem, I got the SDK's from the java.sun webpage, and also tried different versions of the java SDK's and always get the same answer.

Any help you can offer would be greatly appreciated.

Sorry I have no ideas on this one. I tried searching and couldnt find anything decent on the subject.

You might want to post your problem in the Java forums on Sun's site -
Thanks for the suggestion but I already tried there and after two days of no replies I was refferred to this forum

is it or
that cant be found...cause in the title
or your post you mention libpthread
and in the other part you mention
What distribution are you running? Apparently libpthread is included in the glibc rpm package if you're running redhat.
I had a seperate, but similar problem caused by the JDK being compiled with an older version of C. If you are using glibc 2.3.x then I would recommend that you use the JDK from here:

You can download the one that was comiled with gcc3.2 or the one compiled with gcc2.95.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.