P
Pep
I have a test java program that has this at the top
import EDU.oswego.cs.dl.util.concurrent.*;
but when I compile it I get this error
$ javac -classpath concurrent/ test.java
test.java:17: package EDU.oswego.cs.dl.util.concurrent does not exist
import EDU.oswego.cs.dl.util.concurrent.*;
^
test.java:169: cannot access SynchronizedBoolean
bad class file: concurrent/SynchronizedBoolean.class
class file contains wrong class:
EDU.oswego.cs.dl.util.concurrent.SynchronizedBoolean
Please remove or make sure it appears in the correct subdirectory of the
classpath.
private static SynchronizedBoolean x = new
SynchronizedBoolean(false);
^
2 errors
I have downloaded and compiled the concurrent package in to the concurrent/
directory so it should exist?
Cheers,
Pep.
import EDU.oswego.cs.dl.util.concurrent.*;
but when I compile it I get this error
$ javac -classpath concurrent/ test.java
test.java:17: package EDU.oswego.cs.dl.util.concurrent does not exist
import EDU.oswego.cs.dl.util.concurrent.*;
^
test.java:169: cannot access SynchronizedBoolean
bad class file: concurrent/SynchronizedBoolean.class
class file contains wrong class:
EDU.oswego.cs.dl.util.concurrent.SynchronizedBoolean
Please remove or make sure it appears in the correct subdirectory of the
classpath.
private static SynchronizedBoolean x = new
SynchronizedBoolean(false);
^
2 errors
I have downloaded and compiled the concurrent package in to the concurrent/
directory so it should exist?
Cheers,
Pep.