C to Java help

heya - im creating a native method which works brilliantly when i do a java wrapper on it and create the .dll

when i do it on Solaris... i get this error (after it compiles-no errors) then 'java stat'

u6/cs3/kkocik/comp3204NEW/libstat.so: /.automount/net/grey/u6/cs3/kkocik/comp320
4NEW/libstat.so: ELF file data encoding not little-endian
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1315)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1239)
at java.lang.Runtime.loadLibrary0(Runtime.java:466)
at java.lang.System.loadLibrary(System.java:774)
at stat.(stat.java:45)

can anyone please help? or give a suggestion?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!