Jump to content

HELP in J2ME Cldc1.1

- - - - -

  • Please log in to reply
2 replies to this topic

#1
edge02

edge02

    Newbie

  • Members
  • PipPip
  • 21 posts
I'm trying to make a J2ME Midlet with floating point calculations
i'm using Java Eclipse as IDE and downloaded all the necessary softwares needed.
Now, my problem is that floating point calculations is not supported by j2me
unless cldc1.1 is installed. I already download cldc1.1 the problem is
i don't know where to put it. Can someone direct me where to put it?
thanks.

#2
edge02

edge02

    Newbie

  • Members
  • PipPip
  • 21 posts
I've found a way regarding my previous post but now i'm having another problem.
i'm creating a midlet project using Eclipse (EclipseMe)
i'm using floating point calculations so i used MathFP but
i'm having an error:

java.lang.NoClassDefFoundError: net/jscience/math/MathFP
at Formula1.compute(+1)
at Formula1.commandAction(+49)
at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+282)
at javax.microedition.lcdui.Display$DisplayManagerImpl.commandAction(+10)
at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)
at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+186)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+57)

I tried putting a checkbox on the import and export tab in the Build Path option but i'm having another error:

Errors running builder 'Preverification' on project 'Physics'.
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

can someone tell me how to fix this.
Thanks.

#3
farrell2k

farrell2k

    Learning Programmer

  • Members
  • PipPipPip
  • 60 posts
This is a mess. I have found eclipse to be nothing but a bother when it comes to j2me. My advice is to first download sun's j2me 3.0 skd and install it. You can build your apps in that. As far as your error, i wouldn't even bother investigating anything in eclipseme as it is nothing but a mess.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users