Re: java from sun: installation problem
On Tue, 10 Dec 2002, [iso-8859-1] Francois BOTTIN wrote:
> --- Jan Krupa <krupa@alpha.sggw.waw.pl> a écrit :
> >
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libfontmanager.so:
> > libstdc++-libc6.1-1.so.2: cannot open shared object file: No such
> > file or directory
>
> Simply install the file libstdc++-libc6.1-1.so.2
> (http://packages.debian.org/cgi-bin/search_contents.pl?word=libstdc%2B%2B-libc6.1-1.so.2&searchmode=searchfiles&case=insensitive&version=stable&arch=i386&directories=yes)
I have installed libstdc++2.9-glibc2.1_2.91.66-4.deb package.
Have still some problem:
I tried to compile the following file:
/*
Hello.java
*/
import java.awt.*;
public class Hello extends Frame {
public static void main(String argv[])
{
new Hello();
}
Hello() {
Label hello =
new Label("Hello World");
add(hello, "Center");
setSize(200, 200);
setVisible(true);
}
}
javac Hello.java
java Hello
and got the following message:
2002-12-10 18:19:48 java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences
are unusable.
Any clue?
Jan
>
> Francois.
>
> PS: this question is a FAQ...
>
> =====
Reply to: