×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    26

    Using Ant with J2ME

    Hello

    I am using this tool (ANT) for J2ME
    I know generally this tool is used with J2EE
    But still we are using it , This tool Works Well for Porting of A particular Application (Game Application where we need to convert for various cells )
    I managed to get one Example From this website

    http://javapronews.com/javapronews-4...twithJ2ME.html

    This article is by Jason Lam

    I did all the things that were inside the article
    Also i have set the path for Ant and for Java properly
    but when i run the particular command (compile ) it gives me error

    Compiling 1 source file to C:\WTK22\apps\Hello\build\classes
    C:\WTK22\apps\Hello\src\hello\Hello.java:7: cannot access java.lang.Object

    file java\lang\Object.class not found
    public class Hello extends MIDlet implements CommandListener {
    ^

    I Think this error comes at the start of the programme
    I do not know what to do with this ..
    If i run the programme using the toolkit it runs on Emulator very well ..
    But i cannot do using Ant (I need to use this tool so i am doing ) ..

    Any more info on this will be appreciated
    i am in deep trouble guys
    help us

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Using Ant with J2ME

    Hi AmeyDesphande,

    Are you sure your MIDP_HOME is configured properly? This is from the article:

    <property name="midp_home" value="e:/j2mewtk"/>
    <property name="midp_lib" value="${midp_home}/lib/midpapi.zip"/>

    Hope it helps!

    BR,

    Juarez Jr

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    26

    Re: Using Ant with J2ME

    Thanks

    Ya the last line is more IMP (((HOPE IT HELPS)))

    well did you try the example which was given in the link

    did it work nicely if yes do tell me pal

    i am in deep trouble

    Amey

Similar Threads

  1. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  2. J2ME Polish Version 1.0 RC6
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-07-20, 11:25
  3. J2ME Polish 1.0 RC1!
    By enough in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-15, 02:53
  4. TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME
    By girow in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-05-05, 18:44
  5. TinyLine SVG Minute Toolkit for J2ME: version 1.4 released
    By girow in forum Mobile Java General
    Replies: 0
    Last Post: 2003-05-05, 16:25

Posting Permissions

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