The tutorial gave this commandline : javac -bootclasspath c:\j2mewtk\lib\midpapi.zip HelloIsrael.java but obviously this was in version 1. I have version 2 and so I gave this : javac -bootclasspath c:\WTK21\lib\midpapi10.jar HelloIsrael.java I also tried midpapi20.jar but both tries gave these 2 errors:
HelloIsrael.java:3: cannot access java.lang.Object file java\lang\Object.class not found public class HelloIsrael extends MIDlet ^ HelloIsrael.java:10: cannot resolve symbol symbol : variable this location: class HelloIsrael display = Display.getDisplay(this); ^ 2 errors
Can anyone help me out here ? I am running form bin directory. Thanks
It would be better if you use j2me wireless toolkit, then atleast you save yourself from running the application from command prompt, it will take care of your classpath as well. If you need the url to download the kit i will post the url.
I love a good mentalist. And so does this tiny ad: