DJSAN10 28 Posting Whiz in Training

I am working with Java RMI. I have created my client in netbeans. After failing to use rmic in netbeans i created stub file using rmic on command prompt and placed the file in my project folder's build\classes directory.Now when i run the server from command prompt, binding takes place correctly but client gives an exception that it is unable to find the stub file..
This is the exception that i get :
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: RMIImp_Stub (no security manager: RMI class loader disabled)

Does this mean i have to place the stub file somewhere else..?? Is there any other solution..please help...

thanks...