473,394 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

In Midlet

HI,

what is the procedure to run the midlet program?

Thanks in Advance
Apr 8 '08 #1
3 1511
pronerd
392 Expert 256MB
Midlet is not a specific program. It is a development model like at applet or servlet.
Apr 8 '08 #2
Hi pronerd,
I just downloaded j2me wireless toolkit 2.5.2, jdk1.6.0_05
I have one midlet program, jar file, jad file and manifest file.
I clicked on build then run, an generic emulator showed up, when I clicked on launch to run the application, the emnulator exited with the following message on the console.
Project "midlets" loaded
Project settings saved
Building "midlets"
Build complete
Running with storage root C:\Documents and Settings\deeksha\j2mewtk\2.5.2\appdb\DefaultColorP hone
Running with locale: English_United Kingdom.1252
Running in the identified_third_party security domain
Method............: 10233084 'com/sun/midp/midlet/MIDletState.createMIDlet (static)'
Stack Chunk.......: 22000ac
Frame Pointer.....: 2200104
Current IP........: 1033a48b = 1033a46e + offset 29
Previous Frame....: 22000cc
Previous IP.......: 103ce331 (offset 22)
Frame size........: 7 (1 arguments, 6 local variables)
Argument[0].......: 2200910
Local[1]..........: 0
Local[2]..........: 237dcd8
Local[3]..........: 22101b4
Local[4]..........: 237dcec
Local[5]..........: 10274b20
Local[6]..........: 237dcb8
Operand[1]........: 2200910

Method............: 10295954 'com/sun/midp/midlet/Selector.run (virtual)'
Stack Chunk.......: 22000ac
Frame Pointer.....: 22000cc
Current IP........: 103ce331 = 103ce31b + offset 22
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 6 (1 arguments, 5 local variables)
Argument[0].......: 2200b18
Local[1]..........: 2210290
Local[2]..........: 2200910
Local[3]..........: 0
Local[4]..........: 0
Local[5]..........: 0
Operand[1]........: 2210290

VM status:
Instruction pointer.: 1033a48b (offset within invoking method: 29)
Next instruction....: 0x4c
Frame pointer.......: 2200104
Local pointer.......: 22000e8
Stack size..........: 128; sp: 220011c; ranges: 22000b4-22002b4;
Contents of the current stack frame:
22000e8: 2200910 (lp)
22000ec: 0
22000f0: 237dcd8
22000f4: 22101b4
22000f8: 237dcec
22000fc: 10274b20
2200100: 237dcb8
2200104: 22000cc (fp)
2200108: 103ce331
220010c: 22000e4
2200110: 10233084
2200114: 22000ac
2200118: 0 (end of frame)
220011c: 2200910 (sp)
Execution stack contains 108 items:
2200b18
2210290
2200910
0
0
0
0
1
237dcbc
10295954
22000ac
0
2210290
2200910
0
ALERT: java/lang/ClassFormatError: Bad version information.
237dcd8
22101b4
237dcec
10274b20
237dcb8
22000cc
103ce331
22000e4
10233084
22000ac
0
2200910

Execution completed.
3415854 bytecodes executed
156 thread switches
1668 classes in the system (including system classes)
17749 dynamic objects allocated (531692 bytes)
2 garbage collections (462940 bytes collected)
Execution completed.
3415854 bytecodes executed
156 thread switches
1668 classes in the system (including system classes)
17749 dynamic objects allocated (531692 bytes)
2 garbage collections (462940 bytes collected)

what is wrong with this? plz give solution for this
Im waiting for ur reply.
Thanks in Advance
Apr 9 '08 #3
pronerd
392 Expert 256MB
what is wrong with this?
What is wrong with what? What are you trying to do? Compile, Build, test, de-bug, emulate, etc. What problem are you having? Is there an error, something not working the way you expected, etc? How do you expect people suggest a solution when you will not state the problem?

Have you even reviewed the documentation to see what the correct procedure is to do what ever it is you are trying? It sounds like you are randomly loading classes or code in to random tools.
Apr 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: shmoove | last post by:
Hi all, I'm a J2ME developer, with very little experience in WAP. I want to know if the following is possible on Nokia terminals: I would like to have a link in a WML page, that when it is pressed...
6
by: nickyeng | last post by:
i have a midlet which will generate a string (message ) and send to our gateway. but before sending, i will need to encrypt the string. i've checked anywhere in internet but couldn't find j2me...
1
by: nickyeng | last post by:
i have a midlet which will generate a string (message ) and send to our gateway. but before sending, i will need to encrypt the string. i've checked anywhere in internet but couldn't find j2me...
4
by: nickyeng | last post by:
I use Eclipse 3.2 which has j2me plug in. Previously i asked about encryption in this forum but not much help, so i decided to use bouncy castle encryption package. runtime error give me the...
0
by: mynameissina | last post by:
hello out there, assume jar file of my mobile project lives in c:/netbeansprojects/mymobileprojects/project1/dist/app.jar now i need a simple midlet that its only duty is to creat a text file say in...
4
by: rpradeepa | last post by:
HI, im preethi,can anybody help me out? My problem is: i compiled my midlet program in command prompt. im getting the following errors javac WelcomeForm.java WelcomeForm.java:14: cannot find...
5
by: rpradeepa | last post by:
Hi, im getting this type of error in midlet program package javax.microedition.midlet does not exist package javax.microedition.io doaes not exist Welcomeform.java:4: package...
0
by: simsimlhr | last post by:
I want to load form inherited from Midlet(j2me) in lwuit form.Is there any way, i cannot convert the midlet into lwuit.
0
by: NitinSawant | last post by:
Hello, I'm working with Netbeans Mobility Pack (Sun java wireless toolkit 2.5), I've created small midlet, I'm adding "MYID" custom property(Attribute) to the midlet, I know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.