Hi
I'm trying to learn j2me and found this nice tutorial (
http://www.zindell.com/israeliJavaBookME/ch1.htm) from this forum but it was written in 2001.
There is this simple code :
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