Hi Markus... The Midlet works fine with the Sun emulator. But since I have trouble running my midlet in the mpowerplayer emulator, I tried to figure out where the problem is. So I decided to use the mpowerplayer-sdk with the problems described below.... Have a nice day Michael
Markus Sinner schrieb: > Did you try this using Sun's WTK? > > http://java.sun.com/products/sjwtoolkit/download.html > > Michael Schlagmueller schrieb: > >> Hi Caig, >> I selected CLDC 1.1 in the Jad-File. >> In the Project Settings -> J2ME -> Preverification >> 'Use JAD file setting' is selected >> and it doesn't make a difference whether I check the 'Use Built-in >> Preverifier'. >> I'm using Suse Linux.... >> Any ideas what I can try ? >> Thanks >> Michael >> >> Setera Craig schrieb: >> >> >>> Micheal, >>> >>> Are you trying to use CLDC 1.0 or 1.1? If CLDC 1.0, floating point >>> values are not allowed. Are you using the built-in preverifier? If >>> so, you might be hitting a bug with that. >>> >>> Craig >>> >>> On Mar 18, 2008, at 2:02 PM, Michael Schlagmueller wrote: >>> >>> >>> >>> >>>> Hi all... >>>> I saw that there is a Mpowerplayer support now for the current >>>> EclipseME >>>> Version. >>>> So I just installed the SDK (V2.0.1185) and included it in EclipseME. >>>> But the Eclipse IDE shows me an error an a very simple class: >>>> >>>> package mod_xyz; >>>> public class xyz { >>>> public static double [] d = {1.0,2.0}; >>>> } >>>> >>>> Error Message: >>>> Floating point not allowed in method definition for <clinit> >>>> >>>> Is this a problem of Mpowerplayer or the EclipseME plugin ? >>>> >>>> It works fine if I only have a simple double value (public static >>>> double >>>> d = 1.0) or when I use an int array (public static int [] d = {1,2}). >>>> >>>> Does anyone have an idea what's going on here? >>>> >>>> Hava a nice day... >>>> Michael >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Eclipseme-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Eclipseme-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Eclipseme-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/eclipseme-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Eclipseme-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/eclipseme-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
