I wasted a lot of time with importing the class, tried the CL option of "javac -cp .;stdlib.jar mad.java" etc but used to get the same error you mentioned.
I then commented out the import altogether and made sure the DrJava's preferences had the 2 classpaths added + the %CLASSPATH% variable to have the right value. Is simply works now.Good luck!
↧
Answer by jrmma for How do I import jars into my java program?
↧
Trending Articles
More Pages to Explore .....