hi,
yes the library exists in specified path.
when i run export command i get list: bash-2.04# export declare -x HOME="/" declare -x HOSTNAME="161.85.18.113" declare -x HOSTTYPE="arm" declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" declare -x MACHTYPE="arm-linux" declare -x OLDPWD="/usr" declare -x OSTYPE="linux-gnu" declare -x PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/j2re1.3.1/bin" declare -x PWD="/usr/shared_library" declare -x SHELL="/bin/sh" declare -x SHLVL="1" declare -x TERM="vt102" declare -x USER="root" bash-2.04# The LD_LIBRARY_PATH is pointing to proper libraries and libawt.so is present in the path. Even i have run ldconfig after this!! But when i run application with awt support in a rxvt terminal i am getting the following messages: bash-2.04# java VideoViewerFrame Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load 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.NativeLibLoader.loadLibraries(NativeLibLoader.java:41) at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29) at java.awt.Component.<clinit>(Component.java:356) bash-2.04# please i need help regarding this? what could be wrong as far as my knowledge goes PATH is set!!!!
Nathan Meyers <[EMAIL PROTECTED]> wrote:
On Wed, Jul 17, 2002 at 05:40:06AM -0700, Hari v wrote:
>
> hi,
>
> i have ARM920T/linux 2.4.18 running.
>
> does anybody successfully running java over ARM9/Linux?
>
> i downloaded java runtime environment (j2re-1.3.1-RC1-linux-arm.tar.bz2) from
>
> balckdown ftp site. i installed it on ARM. ...
> declare -x LD_LIBRARY_PATH=":/usr/local/j2re1.3.1/lib/armv4l" ...
> Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/j2re1.3.1/lib/armv4l/libawt.so: cannot open shared object file: cannot load shared object file: No such file or directory
It should find the native AWT support library if it exists and is in
the expected place. But since I'm not an ARM user, I'll have to ask...
is there a libawt.so in /usr/local/j2re1.3.1/lib/ or, for that matter,
anywhere in your JDK installa! tion?
Nathan Meyers
[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes