|
-
Jun 19th, 2003, 12:43 PM
#1
Thread Starter
Addicted Member
how to work with j2me??
I am only learning j2me. I have downloaded some sample programs from java.sun.com. however, can anyone tell me how do i compile and deploy the program.
Thank you,
leng wai
-
Jun 20th, 2003, 06:31 AM
#2
I have some info at home, I'll be there in ~2 hours.
Meanwhile, it works like this:
You compile your files using javac:
javac -Xbootstrap="path_to_javaME_bootstrap_jar" files
Then you must preevaluate them using the tool that came with ME.
Then you package them into a JAR along with a manifest file that must contain some special directives - it's somewhere in the docs.
Finally you write a package description file, which looks like the manifest file but with other directives, one of them being the size of the jar in bytes, another being the location of the jar. You can then start the emulator specifying the descriptor file.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|