Make sure the directory where the classes it needs arein the classpath also. So if you are in the currentdirectory where your file is in then add the followingto your java command.-cp %CLASSPATH%;.