JDK 1.2 and SuSE 6.1

1999-05-25 Thread jais

Hi,

I have a problem with the JDK 1.2 under SuSE 6.1 (the newest
SuSE-Release)

Ich wanted to test a small programm with swing, which I got from
the last linuxjournal.
Compiling was no problem, but when I start the java Interpreter, I get
the following message:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/java2/jdk1.2/jre/lib/i386/libfontmanager.so:
libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file
or directory

I have put the jdk 1.2 in the directory /usr/local/java2 and have unzip
and untared it there.

Because I have the newest version of SuSE-Linux, I think, that I should
have the
correct libstdc++ - library

my /etc/ld.so.conf looks like this

/lib-aout
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/X386/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/gnome/lib
/usr/local/java2/jdk1.2/jre/lib/i386
 
I have put the directory of the jdk in this file as you can see.

I would be very happy, if anybody could help me!

Markus


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Fwd: JDK 1.2 and SuSE 6.1]

1999-05-26 Thread jais

hi,
thanks for the tip, but it doesn't work
I think, that I don't have the library.

locate *libstdc++* prints the following in my computer

/usr/i486-linux-libc5/lib/libstdc++.so.2.9
/usr/i486-linux-libc5/lib/libstdc++.so.2.9.0
/usr/i486-linux-libc5/lib/libstdc++.so.27
/usr/i486-linux-libc5/lib/libstdc++.so.27.2.8
/usr/lib/gcc-lib/i486-linux/2.7.2.3/libstdc++.a
/usr/lib/gcc-lib/i486-linux/2.7.2.3/libstdc++.so
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/libstdc++.a
/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/libstdc++.so
/usr/lib/libstdc++.so.2.7.2
/usr/lib/libstdc++.so.2.7.2.8
/usr/lib/libstdc++.so.2.8
/usr/lib/libstdc++.so.2.9
/usr/lib/libstdc++.so.2.9.0
/usr/local/wipeout/libstdc++.so
/usr/local/wipeout/libstdc++.so.2.8
/usr/local/wipeout/libstdc++.so.2.8.0

Maybe there is something wrong. I have to admit, that I don't know
very much about all this, because I'm a Linux-Beginner.

Maybe you have another idea how to help me
Thank you

Markus


jais wrote:
> 
>   
> 
> Subject: Re: JDK 1.2 and SuSE 6.1
> Date: Tue, 25 May 1999 22:15:00 -0400
> From: daly <[EMAIL PROTECTED]>
> To: jais <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> References: <[EMAIL PROTECTED]> 
><[EMAIL PROTECTED]>
> 
> jais,
>   it seems that you might have a later version of the libstdc file.
>   look in the /lib directory (or maybe /usr/lib) for the libstdc* files.
>   you probably have one like libstdc++-lib6.1-1.so.2. if so, do
>   ln -s libstdc++-lib6.1-1.so.2 libstdc++-lib6.0-1.so.2
> 
> tim daly
> [EMAIL PROTECTED]
> 
> >
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > /usr/local/java2/jdk1.2/jre/lib/i386/libfontmanager.so:
> > libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file
> > or directory


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]