Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

J2ME & Eclipse

Thread view: 
dbfrager - 22 Aug 2007 00:25 GMT
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)
Joshua Cranmer - 22 Aug 2007 01:36 GMT
> I have just started playing with J2ME, using a software example I
> downloaded from http://www.garret.ru/~knizhnik/En_Home.htm#Shopper.  I
[quoted text clipped - 5 lines]
>
> 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.

Signature

Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.