Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: J2ME application not launching

  1. #1
    Junior Member
    Join Date
    Nov 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default J2ME application not launching

    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
    Attached Images Attached Images


Similar Threads

  1. Database synchronization from RMS with MySQL in Online mode
    By jeremyraj in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: January 24th, 2011, 08:08 AM
  2. problem in j2me
    By Sunil Raghuvanshi in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: March 9th, 2010, 09:08 AM
  3. Launching a File
    By ggross in forum Java Theory & Questions
    Replies: 7
    Last Post: August 30th, 2009, 04:42 AM
  4. J2EE and J2ME projects
    By vmwelt in forum Paid Java Projects
    Replies: 0
    Last Post: August 12th, 2009, 04:13 PM
  5. Runtime exception while developing J2ME mobile application with aspectJ
    By yousef atya in forum Java ME (Mobile Edition)
    Replies: 3
    Last Post: April 29th, 2009, 09:55 AM