LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-24-2002, 04:00 PM   #1
FloatRed
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:

/usr/java/j2re1.4.0_02/bin/java

I get the following error message:

Error: failed /usr/java/j2re1.4.0_02/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: 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?

Thanks.
 
Old 09-24-2002, 05:44 PM   #2
doublefailure
Member
 
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
libstdc++-libc6.1-1.so.2

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

GL
 
Old 09-24-2002, 06:07 PM   #3
FloatRed
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

libstdc++-libc6.2-2.so.3

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
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

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

Original Poster
Rep: Reputation: 0
Fantastic.

And plus I understand the man pages for ln.

Thanks again.
 
  


Reply


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


All times are GMT -5. The time now is 11:01 AM.

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