You're much better off not setting the environment classpath at all, and setting the classpath in the
java command line using the
-cp option.
Is the class in a package? The classpath ought to contain the root of the package structure. So if, for instance, the class file is in
D:\proj\pck, but it's in the package
pck, then the classpath ought to contain
D:\proj