Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2002, 04:00 PM   #1
LQ Newbie
Registered: Aug 2002
Distribution: Red Hat 7.3
Posts: 12

Rep: Reputation: 0
setting up java runtime

I downloaded the rpm.bin from sun and installed the package. Now when I type:


I get the following error message:

Error: failed /usr/java/j2re1.4.0_02/lib/i386/client/, because cannot open shared object file: No such file or directory

What does that mean? Is the installation missing some files that are supposed to be in the lib directory? Do I have to go hunting for these now?

Old 09-24-2002, 05:44 PM   #2
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
first off, u'll be better off with tar.gz than rpms many times

your system is missing this file

go to
and type that file
or libstdc
or libc6.1
until you find one rpm(-- that contains that file
and install it

Old 09-24-2002, 06:07 PM   #3
LQ Newbie
Registered: Aug 2002
Distribution: Red Hat 7.3
Posts: 12

Original Poster
Rep: Reputation: 0
I am bookmarking that site.

Except one problem. When I tried to install that package it told me, I had a newer version. I actually have the

file. So now what happens? Can I not run the jre if it is looking for an old file? Can I tell it somehow to use the newer version?
Old 09-24-2002, 08:10 PM   #4
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
find on your system
it is most probably under
/usr/lib and make a symlink
ln -s /usr/lib/ /usr/lib/
and run
and you should be fine
Old 09-24-2002, 08:43 PM   #5
LQ Newbie
Registered: Aug 2002
Distribution: Red Hat 7.3
Posts: 12

Original Poster
Rep: Reputation: 0

And plus I understand the man pages for ln.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
java runtime problem iamedu Programming 2 09-23-2004 06:00 PM
Getting Java Runtime To Run tsuehpsyde Fedora 2 05-03-2004 12:54 AM
java runtime shariqali Linux - Software 7 09-23-2003 10:08 PM
Which Java Runtime Environment to use? r_jensen11 Linux - Software 4 09-13-2003 06:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration