Exception in thread "main" java.lang.UnsatisfiedLinkError: com/sun/comm/Uni
/mnt/flash/tmp #uname -a
Linux DW100 2.4.26 #906 拳 5岿 10 13:26:47 KST 2005 mips unknown
/mnt/flash/tmp #/mnt/jvm/bin/cvm -verion
Product: J2ME(TM) CDC-HI/FP/SecOP (1.1.1-rr-b37)
Profile: J2ME(TM) Foundation Profile Specification 1.1
Optional Pkg: J2ME(TM) Security Optional Package 1.0
JVM:J2ME(TM) CDC-HI VM (1.1.1-rr-b36, mixed mode)
/mnt/flash/tmp # ls
drwxr-xr-x3 rootroot0 Jan 14 08:41 .
drwxr-xr-x8 rootroot0 Jan 10 15:14 ..
-rw-r--1 rootroot 2502 Jan 5 06:17 SimpleRead.class
-rw-r--1 rootroot 1786 Jan 7 08:47 TestEnumeration.class
-rw-r--1 rootroot136638 Jan 4 14:59 comm.jar
-rwxr-xr-x1 rootroot 1362 Jan 7 08:58 javax.comm.properties
drwxr-xr-x2 rootroot0 Jan 4 15:06 lib
-rw-r--1 rootroot 4823 Jan 7 09:08 portmap.conf
/mnt/flash/tmp # cd lib
/mnt/flash/tmp/lib # ls
libLinuxSerialParallel.so
/mnt/flash/tmp # ../jvm/bin/cvm -Djava.library.path=lib -cp comm.jar:. TestEnumeration
java.lang.UnsatisfiedLinkError: com.sun.comm.Unix.isDevLink(Ljava/lang/String;)Z
at com.sun.comm.PathBundle.add(Unknown Source)
at com.sun.comm.PlatformPortBundle.<init>(Unknown Source)
at javax.comm.CommPortIdentifier.<clinit>(Unknown Source)
at java.lang.Class.runStaticInitializers(Unknown Source)
at TestEnumeration.getAvailableSerialPorts(Unknown Source)
at TestEnumeration.main(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.misc.CVM.runMain(Unknown Source)
--
My problem is that. !
I had compiled native source for mip-little endian and got shared objec .
but when TestEnumeration running, got error !!
The TestEnumeration.java is file downloaded from sun example site
http://www.syngress.com/book_catalog/177_lego_JAVA/sample.htm
How i debug it ?
Help me..
thanks .

