Originally posted by Eduardo Marques: Looks like a CLASSPATH problem ...
If you're using WTK jar files are in the "lib" subdir of WTK. If you compile inside WTK I believe the CLASSPATH settings should be automatic.
Hi, I am doing the same tutorial, and was wondering if you can remember off-hand how you resolved this as I have the exact same problem you had. The DateTimeApp.java compiled fine, but the preverification did not work. This was my effort: C:\WTK2.5.2\com>c:\WTK2.5.2\bin\preverify.exe -classpath .;c:WTK2.5.2\lib\midpapi20.jar;c:\WTK2.5.2\lib\cldcapi11.jarcom.j2me.part1.DateTimeApp -d bin classes Error preverifying class java.lang.Class VERIFIER ERROR java/lang/Class.getResourceAsStream(Ljava/lang/String Ljava/ io/InputStream;: Cannot find class com/sun/midp/io/ResourceInputStream
If you can shed any light on this that would be great! Thanks