Results 1 to 3 of 3
  1. #1
    vishal21 is offline Member
    Join Date
    Nov 2010
    Posts
    15
    Rep Power
    0

    Default Not able to launch J2ME application

    Hi,
    I am trying to implement small J2ME application TextFieldExample.java
    I have created the required jar file, jad file and manifest file.
    When I try to start the emulator to launch the application by following command
    ..\..\bin\emulator.exe -Xdescriptor TextFieldExample.jad

    I see the mobile emulator : ( see p1.jpg )
    When I try to launch the application from the emulator, I see lot of messages on the console but my application does not get launched. ( see p2.jpg )

    I get to see following messages on the console
    C:\WTK2.5.2_01\article\output>
    C:\WTK2.5.2_01\article\output>
    C:\WTK2.5.2_01\article\output>..\..\bin\emulator.e xe -Xdescriptor TextFieldExample.jad
    Running with storage root C:\Users\Vishal\j2mewtk\2.5.2\appdb\DefaultColorPh one
    Running with locale: English_India.1252
    Running in the identified_third_party security domain
    Method............: 10233084 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
    Stack Chunk.......: 35100ac
    Frame Pointer.....: 3510104
    Current IP........: 1033a493 = 1033a476 + offset 29
    Previous Frame....: 35100cc
    Previous IP.......: 103ce339 (offset 22)
    Frame size........: 7 (1 arguments, 6 local variables)
    Argument[0].......: 35108e0
    Local[1]..........: 0
    Local[2]..........: 368eb48
    Local[3]..........: 351ffdc
    Local[4]..........: 368eb5c
    Local[5]..........: 10274b20
    Local[6]..........: 368eb28
    Operand[1]........: 35108e0

    Method............: 10295954 'com/sun/midp/midlet/Selector.run (virtual)'
    Stack Chunk.......: 35100ac
    Frame Pointer.....: 35100cc
    Current IP........: 103ce339 = 103ce323 + offset 22
    Previous Frame....: 0
    Previous IP.......: 1
    Frame size........: 6 (1 arguments, 5 local variables)
    Argument[0].......: 3510a70
    Local[1]..........: 35200b8
    Local[2]..........: 35108e0
    Local[3]..........: 0
    Local[4]..........: 0
    Local[5]..........: 0
    Operand[1]........: 35200b8

    VM status:
    Instruction pointer.: 1033a493 (offset within invoking method: 29)
    Next instruction....: 0x4c
    Frame pointer.......: 3510104
    Local pointer.......: 35100e8
    Stack size..........: 128; sp: 351011c; ranges: 35100b4-35102b4;
    Contents of the current stack frame:
    35100e8: 35108e0 (lp)
    35100ec: 0
    35100f0: 368eb48
    35100f4: 351ffdc
    35100f8: 368eb5c
    35100fc: 10274b20
    3510100: 368eb28
    3510104: 35100cc (fp)
    3510108: 103ce339
    351010c: 35100e4
    3510110: 10233084
    3510114: 35100ac
    3510118: 0 (end of frame)
    351011c: 35108e0 (sp)
    Execution stack contains 108 items:
    3510a70
    35200b8
    35108e0
    0
    0
    0
    0
    1
    368eb2c
    10295954
    35100ac
    0
    35200b8
    35108e0
    0
    368eb48
    351ffdc
    368eb5c va/lang/ClassFormatError: Bad version information.

    10274b20
    368eb28
    35100cc
    103ce339
    35100e4
    10233084
    35100ac
    0
    35108e0

    Execution completed.
    3422703 bytecodes executed
    199 thread switches
    1668 classes in the system (including system classes)
    17688 dynamic objects allocated (531500 bytes)
    2 garbage collections (459892 bytes collected)
    Execution completed.
    3422703 bytecodes executed
    199 thread switches
    1668 classes in the system (including system classes)
    17688 dynamic objects allocated (531500 bytes)
    2 garbage collections (459892 bytes collected)

    C:\WTK2.5.2_01\article\output>


    Can anyone help me with this.
    Thanks in advance,
    Vishal

    +91 9900102231
    vishal21@gmail.com
    Attached Thumbnails Attached Thumbnails Not able to launch J2ME application-p1.jpg   Not able to launch J2ME application-p2.jpg   Not able to launch J2ME application-p3.jpg  

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    OP, I've locked your duplicate post as these are not allowed here. Thank you for your future cooperation with this.

  3. #3
    peter_budo is offline Member
    Join Date
    Dec 2010
    Posts
    49
    Rep Power
    0

    Default

    Without actual code I do not think we can solve this. My question to you, why you are doing this from command line and not using an IDE like (IntelliJ IDEA, Eclipse or NetBeans) that have plugins to do all the manual work of compiling, packaging, obfuscating etc?

Similar Threads

  1. Java Application fails to launch without error
    By javaguy78 in forum AWT / Swing
    Replies: 9
    Last Post: 11-16-2010, 06:25 PM
  2. Replies: 1
    Last Post: 05-17-2010, 09:03 PM
  3. J2ME Application Developer
    By pooja_k in forum Jobs Offered
    Replies: 0
    Last Post: 04-23-2010, 02:02 PM
  4. Replies: 4
    Last Post: 03-12-2010, 05:57 PM
  5. Replies: 0
    Last Post: 04-22-2009, 01:30 PM

Posting Permissions

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