I've got a problem running JDK 1.2v1 on my RedHat 5.2 install, but only AWT
stuff. I know this has crossed this forum before, but I'm kinda asking for
somebody to hold my hand on this and walk me through what I need to do to
make this work.
I'm trying to run the Notepad sample from the demos/jfc directory. Error I
get back is:
uncaught exception: java.lang.UnsatisfiedLinkError:
/usr/jdk1.2/jre/lib/i386/lib
fontmanager.so: libstdc++-libc6.0-1.so.2: cannot open shared object file:
No such file or directory
java.lang.UnsatisfiedLinkError: /usr/jdk1.2/jre/lib/i386/libfontmanager.so:
libstdc++-libc6.0-1.so.2: cannot open shared object file: No such file or
directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Compiled Code)
at java.lang.ClassLoader.loadLibrary(Compiled Code)
at java.lang.Runtime.loadLibrary0(Compiled Code)
at java.lang.System.loadLibrary(Compiled Code)
at sun.security.action.LoadLibraryAction.run(Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:41)
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Compiled Code)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled Code)
at java.awt.Font.initializeFont(Compiled Code)
at java.awt.Font.<init>(Compiled Code)
at javax.swing.plaf.metal.DefaultMetalTheme.<init>(Compiled Code)
at
javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(Compiled Code)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(Compiled Code)
at javax.swing.UIManager.setLookAndFeel(Compiled Code)
at javax.swing.UIManager.setLookAndFeel(Compiled Code)
at javax.swing.UIManager.initializeDefaultLAF(Compiled Code)
at javax.swing.UIManager.initialize(Compiled Code)
at javax.swing.UIManager.maybeInitialize(Compiled Code)
at javax.swing.UIManager.getUI(Compiled Code)
at javax.swing.JPanel.updateUI(Compiled Code)
at javax.swing.JPanel.<init>(Compiled Code)
at javax.swing.JPanel.<init>(Compiled Code)
at javax.swing.JRootPane.createGlassPane(Compiled Code)
at javax.swing.JRootPane.<init>(Compiled Code)
at javax.swing.JFrame.createRootPane(Compiled Code)
at javax.swing.JFrame.frameInit(Compiled Code)
at javax.swing.JFrame.<init>(Compiled Code)
at Notepad.main(Compiled Code)
Obviously, it's the top line that's causing the problem--where do I
find/build the "libstdc++-libc6.0-1.so.2" file? I've used Linux before
(back in the 0.99pl13 days), but not recently; I've used g++ before, but
not since 2.6.x something. (I'm a little out of date with Linux these days.)
I know Joe Burks posted a fix on how to get this to work, but it didn't
work for me; I'm sure it's some Linux-configuration thing that's keeping me
down. Help?
Oh, and off-topic: Does anybody have a good reference on Linux shared libs
these days? It's changed significantly since I last dabbled in Linux-C/C++
development.
Ted Neward
Dorado Software
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]