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 replies to this topic
#1
Posted 23 August 2011 - 09:41 AM
|
|
|
#2
Posted 27 August 2011 - 10:19 AM
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.
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
Posted 28 August 2011 - 02:12 AM
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.
OBDMobile http://sites.google....te/obdiimobile/
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









