hi guys, I got a very strange problem. When I produce stub and skel from the java that don't includ package, that will be fine.But if my class including the package, then rmic will report it can't find that class.
Make sure you are in the correct directory, for example�
On my machine I have the following directory structure for the project: java/contractor/remote, in the remote directory (package) I have all the networking Java files for the project e.g. contractor.remote.DataImpl. When I want to create the stub for DataImpl I open the prompt in the java directory and create the stub from there, therefore I have a (Windows) prompt like this: d:\java>rmic contractor.remote.DataImpl. The stub is now created in the remote directory.