Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / January 2004

Tip: Looking for answers? Try searching our database.

Eclipse and J2ME

Thread view: 
Geoffrey Emmans - 13 Jan 2004 10:00 GMT
I'm just starting with Eclipse and J2ME, but I have problems building my
projects (generating jad-files).

This is what I have done so far:

- installed J2SE 1.4.2
- installed Eclipse 2.1.2
- installed Antenna plug-in and added Antenna to Ant's classpath
- installed J2ME Wireless Toolkit 2.1
- installed another WTK (Nokia 7120)
- generated a build.xml file

Now, when I tell Ant to build my project, Ant tells me that...
"[wtkbuild] BUILD FAILED: file:F:/Web/tools/eclipse/workspace/Property
Midlet/build.xml:35: MIDP API not found. Please define wtk.home or
wtk.midpapi properly."
But in my build.xml file I define
<property name="wtk.home" value="F:\Web\java\j2me"/>

where F:\Web\java\j2me is the base path of my J2ME Wireless Toolkit 2.1.

What's going wrong here? I tried different wtk's but to no avail. Any help
would be appreciated!

Thx, Geoffrey
Bob Oak - 21 Jan 2004 22:39 GMT
Antenna is expecting that the MIDP API is located in lib/midpapi.zip.
It looks like it has changed with the 2.1 Toolkit.  Depending on
whether you want to build for MIDP 1.0 or 2.0, add the following to
your build.xml:

<property name="wtk.midpapi" value="${wtk.home}/lib/midpapi20.jar"/>
or
<property name="wtk.midpapi" value="${wtk.home}/lib/midpapi10.jar"/>

> I'm just starting with Eclipse and J2ME, but I have problems building my
> projects (generating jad-files).
[quoted text clipped - 21 lines]
>
> Thx, Geoffrey
Detlef Winkelvoss - 24 Jan 2004 12:58 GMT
> I'm just starting with Eclipse and J2ME, but I have problems building my
> projects (generating jad-files).
[quoted text clipped - 21 lines]
>
> Thx, Geoffrey

When i remember right provide ibm a special version of wsad5 for j2me
development (device developer). i'm sure it's free for personal use.
look on ibm site.

wbr winkel


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.