Cannot Find File
hello!
I am inporting the concurrent package of Doug Lea insice my class
The LinkedQueue.java which i am importing looks like this
/*
** File: LinkedQueue.java
*/
package EDU.oswego.cs.dl.util.concurrent;
publicclass LinkedQueueimplements Channel{
protected LinkedNode head_;
protectedfinal Object putLock_ =new Object();
............
public LinkedQueue()
............
i call the object like this
import concurrent.*;
...
private LinkedQueue urlQ=new LinkedQueue();
where the concurrent.*;
is the path where the file resides.
The error is like this
bad class file: C:\Users\Giorgos\Concurrency\concurrent\LinkedQueue.java
file does not contain class concurrent.LinkedQueue
Please remove or make sure it appears in the correct subdirectory of the classpath.
private LinkedQueue urlQ=new LinkedQueue();
^

