J2ME & Eclipse

D

dbfrager

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)
 
J

Joshua Cranmer

dbfrager said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top