RMIC compile error- class * not found

When trying to compile my class with the RMI compiler into stubs and skeletons, I am getting the message "error: Class examples.hello.Hello not found" even though I am running the rmic.exe from the directory where the class is located... I have no idea what this problem could be??? I have tried fooling around with the CLASSPATH var and the RMIC options, but to no avail- any ideas please?

It seems, your class is defined within the package examples.hello or you haven't 'import'-ed some package you need.
In java packages reside in directories, relative to the directory you compile. In your case, put all files from this package in a directory examples\hello, then run the compiler from the directory where the 'examples' is a subdirectory, providing good path name for the file you're compiling.