Skip to main content

pls help-problem in Understanding the MIDlet Creation--Without the Toolkit

1 reply [Last post]
vsstephen
Offline
Joined: 2007-02-15
Points: 0

Understanding the Process of MIDlet Creation--Without the Toolkit. i am following this article. http://today.java.net/pub/a/today/2005/02/09/j2me1.html?page=2#step1. i cant pass the step3.

C:\WTK22\article>javac -bootclasspath ..\lib\cldcapi11.jar;..\lib\midpapi20.jar com\j2me\part1\DateTimeApp.java

when i try to compile. it says "JAVAC" is not recognized as an internal or external command. i do have the cldcapi.jar and midpapi20.jar. please help why i cant able compile by usig javac

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04
Points: 0

You command line looks ok, but if your shell doesn't find javac it means one of two things:

- You didn't install the Java 2 SDK (version 1.4.2) OR
- You didn't set your PATH variable to point to the bin directory of the Java 2 installation

For the Java 2 SDK look here:

http://java.sun.com/j2se/1.4.2/download.html

Hope that helps,

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org