Normal AWT code has problem with JNI_load(UnsatisfiedLinkError)
I have my application running under Solaris.
It even works with one Solaris machine, but doesn't work with another one. It's definitely some environment setting problem, but I just can figure it out. Anyone can help? Some library path for X11 not set correct. It's complaining about some AWT code as simple as new Dimension(...).
java.lang.UnsatisfiedLinkError: exception occurre
d in JNI_OnLoad
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.j
ava:53)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1037)
at java.awt.Toolkit.<clinit>(Toolkit.java:1058)
at java.awt.Dimension.<clinit>(Dimension.java:71)

