Skip to main content

Starting JTHarness with ME framework

1 reply [Last post]
Joined: 2007-04-17


I am trying to start the JTHarness tool using the ME plugin ( but I am not having any luck. I have gone over the whitepapers, and every document I could find online and they are all very descriptive, but none tell me how to start the harness with J2ME framework.

I know there has to be something specific in the way JTHarness has to be started to tell it to be specific to J2ME because I found this picture, and it shows how the configuration editor has J2ME specific properties.

We are currently starting the harness with "java -jar javatest.jar" and it starts fine, and we can run simple tests, but when we try to test a class that creates a midlet we get a UnsatisfiedLinkException:

Exception in thread "main" java.lang.UnsatisfiedLinkError: getProperty0
at com.sun.midp.main.Configuration.getProperty0(Native Method)
at com.sun.midp.main.Configuration.getProperty(
at com.sun.midp.midlet.Scheduler.getScheduler(
at com.sun.midp.midlet.MIDletState.(
at javax.microedition.midlet.MIDletProxy.(
at javax.microedition.midlet.MIDlet.(
at samples.SampleTestMidlet.(
at samples.FitstTest.main(

and so we assume there has to be something about the runtime - which should be specific to J2ME.

Any help is much appreciated.



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-10-12

There is a cross posting in cqME Interest forum. I provided an answer there.