Skip to main content



      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 08:17 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Mon Mar 17 21:11:58 EDT 2025

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

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

Back to the top