×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Problem while building 40 series application


    Hi,
    I'm using Wireless Toolkit for building 40 series application (where i've change the settings of MIDP to 1.0 and others left as it is).I'm building application in SDKs of "S40_SDK_3rd_Edition" as i wanna use Nokia UI API.
    This application compile fine but while preverifying it is giving an error that
    "Error preverifying class java.lang.String

    ERROR: floating-point arguments should not appear
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1"

    Can anyone resolve this problem ?
    or Any suggestions while building 40 series build.

    Sachin Warang.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Problem while building 40 series application

    IMHO this Error might be due to configuration version. Please change the configuration to CLDC 1.1 and profile to MIDP 2.0 and give a try.
    Hope this helps!

    Regards
    Gopal

  3. #3
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    76

    Question Re: Problem while building 40 series application

    Hi ,
    (I'm using Wireless Toolkit 2.2)
    As on other devices i'm not abel to build on CLDC 1.0 which throwing
    "Error preverifying class java.lang.String

    ERROR: floating-point arguments should not appear
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    "
    I know in CLDC 1.0 u can't use String/floating point as an argument.
    How to handle it as i want to develop an application on devices having configuration CLDC 1.0 also?

    So where do i change in code?
    like exactly which type of argument e.g.
    1.cmdExit = new Command("Exit", Command.EXIT, 1); where "Exit" is an argument.
    2.mainForm = new Form("Status UI Test:");where"Status UI Test:" is also an argument.
    all this are argument/parameters.

    Sachin Warang.
    Last edited by sachinwarang; 2006-03-16 at 10:37. Reason: Reason:forget to tell the tool using.

Similar Threads

  1. Replies: 21
    Last Post: 2007-09-05, 16:09
  2. Problem with Series 90 application icon
    By ManishPatil in forum Symbian
    Replies: 3
    Last Post: 2005-07-21, 11:49
  3. Replies: 0
    Last Post: 2004-10-31, 13:13
  4. Replies: 1
    Last Post: 2003-04-01, 11:37
  5. problem running j2me application on Nokia Emulator 60 series
    By chancp in forum Mobile Java General
    Replies: 0
    Last Post: 2002-07-03, 02:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×