FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Unable to run any MIDlet..Please help

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
Rajendu Mitra



Joined: 01 Sep 2009
Posts: 1

PostPosted: Tue Sep 01, 2009 7:17 am    Post subject: Unable to run any MIDlet..Please help Reply with quote

Hi,
I am new to J2ME......I have Netbeans 6.7.1 installed in my system...Whenever I am trying to run any MIDLet....I am getting the below error....
java.lang.UnsatisfiedLinkError: /opt/netbeans-6.7.1/mobility8/WTK2.5.2/bin/sublime.so: /opt/netbeans-6.7.1/mobility8/WTK2.5.2/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:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1663)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at com.sun.kvem.Sublime.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.sun.kvem.Lime.createLime(Unknown Source)
at com.sun.kvem.KVMBridge.<init>(Unknown Source)
at com.sun.kvem.KVMBridge.getBridge(Unknown Source)
at com.sun.kvem.midp.MIDP.run(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)
at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.kvem.environment.JVM.main(Unknown Source)


Could anyone please help me in resolving this......


Thanks,
Rajendu
Back to top
View user's profile Send private message
Petr Suchomel
Posted via mailing list.





PostPosted: Tue Sep 01, 2009 7:35 am    Post subject: Unable to run any MIDlet..Please help Reply with quote

This is problem with 64bits system. You need 32bits JDK to run J2ME.
--Petr

Rajendu Mitra wrote:
Quote:
Hi,

I am new to J2ME......I have Netbeans 6.7.1 installed in my system...Whenever I am trying to run any MIDLet....I am getting the below error....

java.lang.UnsatisfiedLinkError: /opt/netbeans-6.7.1/mobility8/WTK2.5.2/bin/sublime.so: /opt/netbeans-6.7.1/mobility8/WTK2.5.2/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:1767)

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1663)

at java.lang.Runtime.load0(Runtime.java:787)

at java.lang.System.load(System.java:1022)

at com.sun.kvem.Sublime.<init>(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:532)

at java.lang.Class.newInstance0(Class.java:372)

at java.lang.Class.newInstance(Class.java:325)

at com.sun.kvem.Lime.createLime(Unknown Source)

at com.sun.kvem.KVMBridge.<init>(Unknown Source)

at com.sun.kvem.KVMBridge.getBridge(Unknown Source)

at com.sun.kvem.midp.MIDP.run(Unknown Source)

at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Source)

at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:616)

at com.sun.kvem.environment.JVM.main(Unknown Source)





Could anyone please help me in resolving this......





Thanks,

Rajendu











--
Petr Suchomel <address-removed>
Sun Microsystems, Inc.
Phone +420 2 33009234 (x49234), Fax +420 2 33009311
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB