This discussion is archived
0 Replies Latest reply: Mar 29, 2010 7:29 PM by 843849 RSS

How should i do for using "import static" in CDC?

843849 Newbie
Currently Being Moderated
First of all, i have no good Eng. skill.
please understand me if i write wrong words.

I'm a beginner of Java ME and i want to compile some sources using CDC Java(TM) ME platform SDK 3.0.
The sources are using "*import static*" and they need to be compiled with 1.5 javac-source version.

So that, i changed some properties of '' and 'build-impl.xml' files in project folder.
( javac.source=1.3 --> javac.source=5
javac-target=1.3 --> javac-target=1.5)

after then, it didn't come out any problem when compiling but,
'cvm.exe' error msg box came out and it could't run.
--- Error ---
Failed to connect to device 1!
Emulator 1 failed to register in time!
Result: 1
BUILD SUCCESSFUL (total time: 56 seconds)

i think the above way i did might be a forced thing.

what should i do for this problem?
Please let me know..

Ji hye

Edited by: kjh10101 on Mar 29, 2010 7:28 PM

Edited by: kjh10101 on Mar 29, 2010 7:28 PM