javajava-mejava-6

J2ME with java 1.6


I'm using CLDC 1.1 + MIDP 2.0 . The "Compiler compliance level" is set to 1.4 .

When I set "Compiler compliance level" to 1.6, I get the following error: "ALERT: java/lang/ClassFormatError: Bad version information.".

How can I use java 1.6 with J2ME?


Solution

  • This answer maybe outdated now, please refer below for latest answers.


    Date: April 2011

    How can I use java 1.6 with J2ME?

    You can't

    Core Reason: J2ME is meant for mobile device where the memory & cpu are the biggest constraint.