Results 1 to 2 of 2

Thread: how to work with j2me??

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2002
    Location
    Malaysia
    Posts
    224

    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

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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
  •  



Click Here to Expand Forum to Full Width