ICE-EJ and the first ICE_MIDlet (with Eclipse)

in Help Center
Hi all,
I've tried to write my first ICE MIDlet with the help of Eclipse. It's the ClientMIDlet included in the package of the Ice-EJ, inserted in a new MIDlet project with Eclipse (I imported also the Demo's files).
Everything seems right (the inclusion, the build path)... and I get no error from the building phase.
The problem occurs when I try to run it with a J2Me emulator included in the Nokia SDK, this is the message error:
java.lang.NoClassDefFoundError: Ice/Util
I'm sure to have properly included the IceE.jar, both here (as you can see) and in the general CLASSPATH (not the Eclipse's one).
I cannot figure out what the problem could be...
I would appreciate any help
Regards
Alberto
I've tried to write my first ICE MIDlet with the help of Eclipse. It's the ClientMIDlet included in the package of the Ice-EJ, inserted in a new MIDlet project with Eclipse (I imported also the Demo's files).
Everything seems right (the inclusion, the build path)... and I get no error from the building phase.
The problem occurs when I try to run it with a J2Me emulator included in the Nokia SDK, this is the message error:
java.lang.NoClassDefFoundError: Ice/Util
I'm sure to have properly included the IceE.jar, both here (as you can see) and in the general CLASSPATH (not the Eclipse's one).
I cannot figure out what the problem could be...
I would appreciate any help
Regards
Alberto
0
Comments
Could you plese give me any hints to solve this problem?
Also note that we do not use Eclipse at ZeroC, so we cannot offer you any assistance in setting up Eclipse projects.
Even if you don't use Eclipse, would you be so kind to explain me the reason for this error?
Is it just a matter of bad inclusion?
Alberto
We can help you if you run your Ice-E for Java application with a regular JDK (not J2ME). Everything else (emulators such as the Nokia one, the one included in EclipseME, or Sun's WTK, or running Ice-E on embedded devices) is out of the scope of the support we can offer here in these forums.
I got it: I've just packed only the file Ice/Util.class into a jar file and then I import it separately in my Eclipse (J2ME) project.
As I said in the prevous post, like all the sources of Ice-EJ, the file Util.java have been initially cleared of the function "finalize()" as well.
Regards
Alberto