PRC Converter and Packages

I have successfully created a couple of trivial examples using MIDP and the PRC Converter. These were small, monolithic examples without a package declaration. However, in creating a more complicated midlet, I have begun to use a package, say org.mycompany.project to organize the classes. These midlets run fine on the emulators in the J2ME Wireless Toolkit, (Phone, Pager, etc) but do not execute under the Palm OS Emulator. I therefore hypothesize that I have missed something in the JAD/JAR to PRC converstion process.

Any suggestions?

Thanks in Advance.

[584 byte] By [Rbralston] at [2007-9-26 11:09:37]
# 1
Just a thought...maybe you forgot to give the correct package info when you were supplying the name of the class to start out with on program execution?Roland
RWuensch at 2007-7-2 0:05:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

> Just a thought...maybe you forgot to give the correct

> package info when you were supplying the name of the

> class to start out with on program execution?

>

> Roland

Yes, I have specified the package.ClassName in the J2ME Wireless toolkit MIDlet settings. For example: com.domain.project.StartUpClassName.

I have at least succeeded with a work-around(?), though. By not including a package declaration in my class definitions, AND jar'*** the classes into a single jar, I have been able to successfully execute on both the J2ME WTK emulators and POSE. I am supposing that because the classes are in the same jar, I am able to avoid creating a package to organize them. Until I find a solution to utilize packages, I will proceed without them.

Thanks,

Barry

Rbralston at 2007-7-2 0:05:47 > top of Java-index,Java Mobility Forums,Java ME Technologies...