I'm not sure it possible to run it outside of the midlet framework; it seems your error is coming from the SUN jdk classes which are looking for some .DLL file. I suspect that that DLL file is contained in the J2ME package.
Why do you need to run it outside of the MIDLet code in thje frst place?
where to add that dll ( zayit.dll) - got it from j2me lib ?
my program still could not recognize the dll.
thanks,
regds,
Buvana
Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.midp.main.Configuration
at javax.microedition.pim.PIM.getInstance(Unknown Source)
at pimApp.createTodoList(Unknown Source)
at pimApp.main(Unknown Source)