Hello Experts,
I am new in java and j2me, I have 64 bit machine and ubuntu 9.1 is installed, eclipse installed and followed instruction to install java micro addition as well in eclipse. But when I want to run a sample j2me file gives the following error. In this IDE j2se and android runs fine.
please help me. Here is the error ..
java.lang.UnsatisfiedLinkError: /media/Work/WORK/j2me_installation_pack/bin/sublime.so: /media/Work/WORK/j2me_installation_pack/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at com.sun.kvem.Sublime.<init>(Sublime.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.kvem.Lime.createLime(Lime.java:40)
at com.sun.kvem.KVMBridge.<init>(KVMBridge.java:46)
at com.sun.kvem.KVMBridge.getBridge(KVMBridge.java:37)
at com.sun.kvem.midp.MIDP.run(MIDP.java:699)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(EmulatorInvoker.java:107)
at com.sun.kvem.environment.EmulatorInvoker.main(EmulatorInvoker.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.kvem.environment.JVM.main(JVM.java:103)
I am new in java and j2me, I have 64 bit machine and ubuntu 9.1 is installed, eclipse installed and followed instruction to install java micro addition as well in eclipse. But when I want to run a sample j2me file gives the following error. In this IDE j2se and android runs fine.
please help me. Here is the error ..
java.lang.UnsatisfiedLinkError: /media/Work/WORK/j2me_installation_pack/bin/sublime.so: /media/Work/WORK/j2me_installation_pack/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at com.sun.kvem.Sublime.<init>(Sublime.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.kvem.Lime.createLime(Lime.java:40)
at com.sun.kvem.KVMBridge.<init>(KVMBridge.java:46)
at com.sun.kvem.KVMBridge.getBridge(KVMBridge.java:37)
at com.sun.kvem.midp.MIDP.run(MIDP.java:699)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(EmulatorInvoker.java:107)
at com.sun.kvem.environment.EmulatorInvoker.main(EmulatorInvoker.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.kvem.environment.JVM.main(JVM.java:103)