Hi. I tried to use S40 DP 2.0 SDK 1.1 to create a package for my helloworld and encountered some problems.
I set the S40 SDK as default and generate a package with CLDC 1.1 and MIDP 2.0. When I ran that with the S40 emulator, it showed an “Application Error” message. Also, it left a warning message in the suite:
WARNING: [MIDlet] java/lang/ClassFormatError: Bad version information.
I kept using the S40 SDK. When I try to generate the package with CLDC 1.0 and MIDP 1.0, the generation failed. The following error message was there:
ERROR: floating-point arguments should not appear
Error preverifying class java.lang.String
After series of failures, I tried to use the 6230 SDK. It worked fine. The package can run on S60 emulator but not S40 emulator.
The problem is that my project targets Series 40 cell phones. How can I solve the problem? Thanks a lot!

Reply With Quote

