• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

architecture word width mismatch issue when runs j2me

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 160
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need the 32-bit version of the JVM installed. These links explain the ELFCLASS32 error: Errors when Running GWT from Eclipse, GWT : "wrong ELF class: ELFCLASS32" Error in x64 Linux machine, wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismat
 
Hasanur Rahaman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the links.
I will try them.
 
reply
    Bookmark Topic Watch Topic
  • New Topic