Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 13:17 Go to next message
Heiko Selber is currently offline Heiko SelberFriend
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 10:23 Go to previous message
Heiko Selber is currently offline Heiko SelberFriend
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: Tue Apr 16 22:27:22 GMT 2024

Powered by FUDForum. Page generated in 1.78019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top