NoClassDefFoundError
I am trying to run the program below...I can compile it as long as i specify the classpath to the jar file that contains the class that references the import statement below.
But after it complies and i try to run it, I get the NoClassDefFoundError. And I can't figure out what I am doing wrong:
I compile using javac -classpath "/to/my/jars/reg.jar" doRenameIt.java
then try to run it using: java doRenameIt...and that's when I get my error
import gov.doc.getFile.util.DirectIO;
public class doRenameIt
{
public static void main (String [] args) throws Exception
{
DirectIO dio = new DirectIO("testfile.txt", "/mount/dir", "id", "/");
dio.makeVisible();
System.out.println("Now you see the file.");
}
}

