You Are Here:

Community: Developer Discussion Boards

#1 Old Cannot find com.nokia.mid.ui.* - 2003-07-25, 10:01

Join Date: Jul 2003
Posts: 13
Location: United Kingdom
an9rew
Offline
Registered User
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
Reply With Quote

#2 Old 2003-07-25, 10:10

Join Date: Jul 2003
Posts: 1,094
Location: Finland, Tampere
doctordwarf
Offline
Super Contributor
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.
Reply With Quote

#3 Old 2003-07-25, 12:19

Join Date: Jul 2003
Posts: 13
Location: United Kingdom
an9rew
Offline
Registered User
Many thanks for a speedy reply.

I'll try that

thanks again


Andrew
Reply With Quote

#4 Old Cannot find com.nokia.mid.ui.* - 2003-07-28, 10:02

Join Date: Jul 2003
Posts: 13
Location: United Kingdom
an9rew
Offline
Registered User
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
Reply With Quote

#5 Old 2004-02-02, 17:00

Join Date: Jan 2004
Posts: 4
SirJoe
Offline
Registered User
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 With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ