The Java ME Platform SDK version 3.0 platform name for CDC does not match the name in the legacy CDC toolkit and the CDC Mobility Pack. The legacy name is “Sun Java Toolkit 1.0 for Connected Device Configuration” while the SDK name is “CDC Java(TM) Platform Micro Edition SDK 3.0”. To ensure a successful import, you can create a new platform and give it the legacy name.
The following procedure allows you to import legacy CDC projects without Reference errors (see Resolving Reference Problems).
Select Tools > Java Platforms. Select “CDC Java(TM) Platform Micro Edition SDK 3.0”, and in the Classes tab, note the libraries required for the platform.
Click Add Platform... and click Next.
Select Java ME CDC Platform Emulator and click Next.
On the Choose Platform page, select the SDK installation directory. Click Next.
On the Platform Name page, type “Sun Java Toolkit 1.0 for Connected Device Configuration” in the Name field. In the Sources tab, add the following libraries: agui.jar, cdc_1.1.jar, fp_1.0.jar, fp_1.1.jar, pbp_1.1.jar, and secop_1.0.jar.
Click Finish, and Close.