• Post Reply Bookmark Topic Watch Topic
  • New Topic

FileReader?  RSS feed

 
Bill Ceglia
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using CodeWarrior and JDK1.2.2 to develop my MIDlet but when I try and access certain classes errors come back stating the class was not found?
Code example below:
import java.io.*;
import java.util.*;
FileReader fis = new FileReader(filename);
When I compile the program it says Class FileReader not found, do I have to specify a path other than the import or do I need to do something else???
 
Graeme Brown
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would be better answered in the Java2 Micro Edition forum.
I don't know the specifics of CodeWarrior, but I do know that the JDKs for most of the J2ME development environment only provide a subset of the classes that are in J2SE.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!