I am compiling my first j2me program from jbuilder personal. The program is helloworldmidlet available as a sample. The run command gives errors as "addCommand and setCommandListener methods of javax.microedition.lcdui.Displayable has NO such PUBLIC methods". I know that these are implemented as PUBLIC.
Please note its just sample program from JBUILDER personal IDE.
Thanks in advance
Posted by Naresh Koneru, email@example.com
on January 15, 2002 at 08:53
Posted by Forum Nokia Developer Support, firstname.lastname@example.org
on January 16, 2002 at 10:15
Are you using JBuilder MobileSet, Nokia Edition? If not then the problem could be that you haven't set CLDC and MIDP API clasess in the project's class path.
This can be done by setting the neccessary CLDC and MIDP classess in the project's required libraries(Project|Project Properties...). For example, if you are using Sun's J2ME Wireles Toolkit, then you have to set midpapi.zip package in the project's required libraries. This package is provided in the Sun's J2ME Wireless Toolkit.