Cannot find symbol error.

Directions say:

A-2-01)INSTANTIATE a local variable named myFile of class MyCsvFile, passing a single String argument for the CSV filename:

損iecesCompletedByEmployee,v00.txt?br>

I wrote:

MyCsvFile myFile = new MyCsvFile("piecesCompletedByEmployee,v00.txt");

and I get this error:

-Target File: C:\Piecework.java-

C:\Piecework.java:16: cannot find symbol

symbol : class MyCsvFile

location: class Piecework

MyCsvFile myFile = new MyCsvFile("piecesCompletedByEmployee,v00.txt");

^

C:\Piecework.java:16: cannot find symbol

symbol : class MyCsvFile

location: class Piecework

MyCsvFile myFile = new MyCsvFile("piecesCompletedByEmployee,v00.txt");

^

2 errors

-Finished-

[778 byte] By [jimmyboia] at [2007-10-3 0:50:50]
# 1

So the error is saying that in the Piecework.java file there is a reference to MyCsvFile class and javac can not find this class. javac looks in the Classpath directories to find dependent classes.

Either MyCsvFile.class does not exist (for example, MyCSVFile is not equal to MyCsvFile) or the Classpath does not contain the directory or jar path that allows MyCsvFile.class to be found.

atmguya at 2007-7-14 17:45:56 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
the MyCsvFile.class file is in the same directory as Piecework.java.
jimmyboia at 2007-7-14 17:45:56 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
> the MyCsvFile.class file is in the same directory as> Piecework.java.And? Is the 'same' directory in the classpath when you compile? Do either of these classes have a named package?It might work to use "javac -cp . Piecework.java"
atmguya at 2007-7-14 17:45:56 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...