Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » Can't use Random.nextInt(int) or Thread.interrupt() in CLDC 1.1 with JavaME SDK 3.0
Can't use Random.nextInt(int) or Thread.interrupt() in CLDC 1.1 with JavaME SDK 3.0 [message #500956] Mon, 30 November 2009 08:17 Go to next message
Heiko Selber is currently offline Heiko Selber
Messages: 12
Registered: July 2009
Junior Member
I installed Java ME SDK 3.0 recently, and selected DefaultCldcPhone2 as my default device.

Even though this device supports CLDC 1.1, I get errors when I use CLDC 1.1 API, like Random.nextInt(int) or Thread.interrupt().

It seems that my projects (which compiled fine with WTK 2.5.2 and MTJ 1.0) use CLDC 1.0 by default now (with MTJ 1.0.1), so they can't be built.

I searched up and down for a hint how to turn on CLDC 1.1, but I didn't find anything.

Can anybody help me?
Re: Can't use Random.nextInt(int) or Thread.interrupt() in CLDC 1.1 with JavaME SDK 3.0 [message #501150 is a reply to message #500956] Tue, 01 December 2009 05:23 Go to previous message
Heiko Selber is currently offline Heiko Selber
Messages: 12
Registered: July 2009
Junior Member
Hm.. I hate talking to myself, but:

The problem simply went away today after rebooting.

I had tried both restarting Eclipse and rebooting several times yesterday without success before giving up and posting here. Today morning it just worked. Argh.
Previous Topic:Possible bug
Next Topic:Can't use Random.nextInt(int) or Thread.interrupt() in CLDC 1.1 with JavaME SDK 3.0
Goto Forum:
  


Current Time: Sat Aug 30 00:33:47 EDT 2014

Powered by FUDForum. Page generated in 0.01544 seconds