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.
now i am able to run simple java applications.
i have busybox support on ARM-Linux.
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.
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!!!!
cheers
Harish
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes