I'm trying to run a Swing application on an iPaq with J2RE 1.3.1 for
ARM processor. I installed the "additional ipaq stuff". I run the
Familiar 0.4 linux distribution.
The application is a simple Helloworld displaying "Hello" in a Frame.
If I use AWT (Frame) I get the error in attachment 1.
If I use Swing (JFrame) I get the error in attachment 2.
Does anyone have any insights ?
Thanks a lot
Val
--
Sun Certified Programmer for the Java 2 Platform
Valentin Crettaz Office: EK 247
SRI International Internet: [EMAIL PROTECTED]
333 Ravenswood Ave. Phone: +1 (650) 859 39 04
Menlo Park, CA 94025 WWW: http://www.sdl.sri.com/people/valentin/
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/mnt/ramfs/local/java/lib/armv4l/libfontmanager.so:
libstdc++-libc6.2-2.so.3: cannot open shared object
file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.font.NativeFontWrapper.<clinit>(NativeFontWrapper.java:37)
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Window.<init>(Window.java:186)
at java.awt.Frame.<init>(Frame.java:315)
at java.awt.Frame.<init>(Frame.java:294)
at HelloWorld.<init>(HelloWorld.java:6)
at HelloWorld.main(HelloWorld.java:10)
Problem creating javax.swing.plaf.metal.MetalLookAndFeel with method
getControlTextFont and args { : java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:670)
at javax.swing.UIDefaults.get(UIDefaults.java:145)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:46)
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:456)
at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:90)
at javax.swing.plaf.basic.BasicLabelUI.installDefaults(BasicLabelUI.java:301)
at javax.swing.plaf.basic.BasicLabelUI.installUI(BasicLabelUI.java:253)
at javax.swing.JComponent.setUI(JComponent.java:322)
at javax.swing.JLabel.setUI(JLabel.java:236)
at javax.swing.JLabel.updateUI(JLabel.java:247)
at javax.swing.JLabel.<init>(JLabel.java:141)
at javax.swing.JLabel.<init>(JLabel.java:171)
at HelloWorld2.main(HelloWorld2.java:5)