Hey guys,

I'm wondering if theres a way of getting the java.util.* packages into the J2ME evniroment.

I've got a midlet project which runs but when I try to reference a java.util element it doesn't find it. Googling didn't bare much look either.

it returned the following url http://en.wikibooks.org/wiki/Programming:J2ME:Connected_Limited_Device_Configuration however this link implies it should be in there... But when I type java.util it comes back empty...any ideas?

Cheers guys.

Recommended Answers

All 3 Replies

You can only use what is available in util for J2ME

  • Calendar
  • Date
  • Enumeration
  • Hashtable
  • Random
  • Stack
  • Timer
  • TimerTask
  • TimeZone
  • Vector

Also there can be some differences between original and CLDC 1.0/CLDC 1.1

so no threading or concurrency can be done?

threads are available through java.lang, check this lect3
and some results from google

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.