J2ME, Thread, interrupt()

J

John Goche

Hello,

When using the J2ME WIreless Toolkit 2.3 I am
getting the following error when I compile:

Project settings saved
Building "Foo"
F:\WTK23\apps\Foo\Foo.java:100: cannot resolve symbol
symbol : method interrupt ()
location: class Foo.NetThread
fooThread.interrupt();
^
1 error
com.sun.kvem.ktools.ExecutionException
Build failed

This is somewhat odd, since, when on the
Sun Wireless Toolkit KToolbar I click:

Help -> Documentation -> MIDP 2.0 (JSR 118)

I end up on a page which shows that the interrupt()
call is included in the J2ME API (MIDP 2.0).

Then when I click on Project -> Settings... -> API Selection
I see that MIDP 2.0 is shown in a non-selectable label, but
CLDC 1.0 is checked instead of CLDC 1.1. Strangely,
clicking CLDC 1.1 and recompiling does not produce the error.

How do I know which CLDC a function call is part of? I cannot
tell this from the API.

Thanks,

JG
 
S

sudhaibs

Hai group,

We have a Java requirement available in North Jersey.

JAVA Requirement:


· Very strong in - JAVA fundamentals
· J2EE, EJB (stateless Session beans ect...)
· Server lets, Life cycle of EJB's
· JAVA threads, web logics 8.1
· Unix
· Web Services- very strong
· J unit, importance of quality
· SDLC process
· Version control software
· Should be very good team player
· Strong Communication and Technical Skills
· Work independently


If you are interested and find yourself eligible for this post conatct
me so that we can further proceed.

Thanks and Regards,\
Sudha
Phone- 732-981-0450 ext-110
 
D

Darryl L. Pierce

John said:
Then when I click on Project -> Settings... -> API Selection
I see that MIDP 2.0 is shown in a non-selectable label, but
CLDC 1.0 is checked instead of CLDC 1.1. Strangely,
clicking CLDC 1.1 and recompiling does not produce the error.

How do I know which CLDC a function call is part of? I cannot
tell this from the API.

The Javadoc says that it's available with CLDC 1.1. If you're using 1.0 then
it's not available.

--
Darryl L. Pierce <[email protected]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top