| Reply | « Previous Thread | Next Thread » |
|
Hello,
I'm trying to access the FullCanvas class in my midlet, when I compile I get the error message above. I have installed the Nokia Development suite and am using the SUN One IDE. I have installed the 3510i sdk and in the lib directory there is a classes.zip which contains the correct directory structure. Does anyone know where this file needs to be unzipped so I can access them or what settings I need to change in the SUN ide. hope you can help happy developing kind regards Andrew Henson |
|
an9rew
Cannot find com.nokia.mid.ui.* This tells that compiler doesn't know where to find this classes.zip Does anyone know where this file needs to be unzipped so I can access them or what settings I need to change in the SUN ide. It doesn't need to be unzipped, it should be included to compuler's -classpath argument. I haven't used Sun ONE, but try looking at where there are other libraries included. Like rt.jar, add your's in a similar way. |
|
Many thanks for a speedy reply.
I'll try that thanks again Andrew |
|
Hello,
I had to mount a new directory recreate all my class files using the Create Class menu in the Tools/Nokia Development Suite menu. Once I had created the classes with the correct import headers it was just a case of copying and pasting the code over. Worked a treat! Happy Developing Andrew Henson |
|
you can also create a bat to compile manually the java files :
----------------- C:\j2sdk1.4.0_01\bin\javac -d classes -classpath classes -bootclasspath C:\Nokia\Devices\Nokia_3510i_MIDP_SDK_v1_0\lib\classes.zip D:\java_work\src\*.java pause ----------------- this compile all the files java in dir : D:\java_work\src\ using classes.zip that is in the 3510i emulator. at the end it pause the dos window so you can read errors. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|