You can also import all of the classes in the package like this:
import javax.microedition.io.*;
But I highly recommend using the "*" approach and name each individual class that you are going to import.
Also to note, the jar file would go into the classpath, whereas the .java file needs to be in the package directory for compiling and runnign to work. What his mean is that if your root directory is c:\myApp\src and the import is com.javaranch.MyClass;
then the MyClass.java file needs to be in the c:\myApp\src\com\javaranch directory.
Mark