J2ME & Eclipse

  • Follow


I have just started playing with J2ME, using a software example I downloaded from http://www.garret.ru/~knizhnik/En_Home.htm#Shopper.  I can successfully build the application and run it both in the emulator outside of eclipse using emulatorw, and also on my Nokia phone.I just can not run it within Eclipse, with or without debug.  I get the following error message:Exception in thread "main" java.lang.UnsatisfiedLinkError: com.sun.midp.main.Configuration.getProperty0(Ljava/lang/String;)Ljava/lang/String; at com.sun.midp.main.Configuration.getProperty0(Native Method) at com.sun.midp.main.Configuration.getProperty(Configuration.java:32) at com.sun.midp.lcdui.Resource.<clinit>(Resource.java:30) at com.sun.midp.main.Main.initSystemLabels(Main.java:686) at com.sun.midp.main.Main.main(Main.java:103)
0
Reply dbfrager 8/21/2007 11:25:17 PM

dbfrager wrote:
> I have just started playing with J2ME, using a software example I 
> downloaded from http://www.garret.ru/~knizhnik/En_Home.htm#Shopper.  I 
> can successfully build the application and run it both in the emulator 
> outside of eclipse using emulatorw, and also on my Nokia phone.
> 
> I just can not run it within Eclipse, with or without debug.  I get the 
> following error message:
> 
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
 From the JavaDocs page for UnsatisfiedLinkError:
"Thrown if the Java Virtual Machine cannot find an appropriate 
native-language definition of a method declared native."

Therefore, there is some native library that is being used that is not 
present on your computer. My guess is that your computer does not have a 
Java ME installation on it. Since my extent of Java ME knowledge is 
"It's a special environment for specialized environments", I cannot help 
you further with this information. But better keywords to look for would 
be using Java ME on a PC or something similar.

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth
0
Reply Joshua 8/22/2007 12:36:26 AM


1 Replies
375 Views

(page loaded in 0.033 seconds)

Similiar Articles:









7/17/2012 7:13:34 PM


Reply: