Skip to main content

Problem creating MIDlets with wireless toolkit

2 replies [Last post]
rpjd
Offline
Joined: 2008-01-02

I am trying to create MIDlets with Sun's wireless toolkit using the tutorial here
http://today.java.net/pub/a/today/2005/02/09/j2me1.html?page=2
I have copied the code for DateTimeApp.java to
c:\WTK2.5.2\com\j2me\part1\DateTimeApp.java
My jdk is here c:\Java\jdk1.6.0_04
I tried compiling with
c:\Java\jkd1.6.0_04\bin>javac -bootclasspath "c:\wtk2.5.2\lib\midpapi11.jar; c:\wtk2.5.2\lib\cldcapi20.jar" c:\wtk2.5.2\com\j2me\part1\DateTimeApp.java
but for some reason javac is not recognising DateTimeApp.java as its giving me
javac : file not found c:\wtk2.5.2\com\j2me\part1\DateTimeApp.java
Any insights would be appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sfitzjava
Offline
Joined: 2003-06-15

I think your question was already asked/answered in the following thread:
http://forums.java.net/jive/thread.jspa?messageID=252824&#252824

-Shawn

sathyamoorthi
Offline
Joined: 2009-02-02

hi
you download "Sun Java Wireless Toolkti 2.5.2 for CLDC" from
http://java.sun.com/products/sjwtoolkit/.
then create new project.fill the details.they provide a sample application.run it an get overview.

refer java complete reference it is too better.