This page was last modified 09:30, 22 May 2007.
CLDC
From Forum Nokia Wiki
Contents |
Overview
The Connected Limited Device Configuration (CLDC) defines the base set of application programming interfaces and a virtual machine for resource-constrained devices like mobile phones in Java ME.
Over CLDC usually exists MIDP 1.0 or MIDP 2.0. It was developed under the Java Community Process as JSR 30 (CLDC 1.0) and JSR 139 (CLDC 1.1).
The Virtual Machine installed on the phone for this configuration usually has 100-160Kb.
Limitations
CLDC 1.0 did not support any form of floating point arithmetic (float or double Java types). This limitation was removed in CLDC 1.1.
See How to use floating point numbers in CLDC 1.0
Packages included
- java.io
- java.lang
- java.util
Difference between CLDC 1.0 and CLDC 1.1
The list below summarizes the main differences between CLDC Specification
versions
1.1 (JSR-139) and 1.0 (JSR-30):
2. Floating point support.
- All floating point byte codes are supported by CLDC 1.1.
- Classes Float and Double have been added.
- Various methods have been added to the other library classes to
handle floating point values.
3. Weak reference support (small subset of the J2SE weak reference classes.)
4. Redesigned, more J2SE-compliant Calendar/Date/TimeZone classes.
5. Error handling requirements have been clarified, and one new error class,
NoClassDefFoundError, has been added.
6. Various minor library changes and bug fixes, such as the addition of the
following fields and methods:
- Boolean.TRUE and Boolean.FALSE
- String.intern()
- Date.toString()
- Random.nextInt(int n)
7. Minimum memory budget raised from 160 to 192 kilobytes, mainly because of
the added floating point functionality.
8. Specification text tightened and obsolete subsections removed.
9. Much more detailed verifier specification ("CLDC Byte Code Typechecker
Specification") is provided as an appendix.
Links
http://java.sun.com/products/cldc/
http://jcp.org/aboutJava/communityprocess/review/jsr139/index.html
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| On which devices does M3G work? | eyvind1 | Mobile Java Media (Graphics & Sounds) | 4 | 2004-10-26 20:03 |
| midp 2.0 for n6630 | tdanz23 | Mobile Java Tools & SDKs | 3 | 2006-05-26 04:31 |
| N70 hangs with 6600 code? | Stengun | Mobile Java General | 2 | 2006-06-12 17:39 |
| invalid application error | peeratep | Mobile Java General | 1 | 2006-12-19 17:35 |
| java/lang/VerifyError: any help in this regard?? | gmsk19 | Mobile Java Tools & SDKs | 3 | 2007-03-31 08:47 |
