RMI Compiling fails with
Hi,
I wrote an very small RMI program. It only demonstrate the function of rmi. But if I want to compile the necessery sources with the rmic-compiler, I get the follow output:
<cmd>
D:\Projekte\Eclipse\Arbeit\RmiTest>rmic de.lindcom.rmivoodoo.server.VoodooImpl
error: Class de.lindcom.rmivoodoo.server.VoodooImpl not found.
1 error
</cmd>
The class VoodooImpl:
package de.lindcom.rmivoodoo.server;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import de.lindcom.rmivoodoo.rmi.Voodoo;
import de.lindcom.rmivoodoo.rmi.VoodooResponse;
publicclass VoodooImpl
extends UnicastRemoteObject
implements Voodoo{
private String spell;
protected VoodooImpl()
throws RemoteException{
}
publicvoid setSpell(String spell)
throws RemoteException{
this.spell = spell;
}
public String getSpell()
throws RemoteException{
return spell;
}
public VoodooResponse doVoodoo()
throws RemoteException{
VoodooResponseImpl vri =new VoodooResponseImpl();
vri.setSpell(spell);
vri.setSuccess(true);
return vri;
}
}
The project itself works on an other pc. Maybe some PATH-variables are wrong:
JAVA_HOME=C:\Programme\Java\jdk1.5.0_06
Path=C:\WINNT\system32;C:\WINNT;C:\Programme\Java\jdk1.5.0_06\bin
But these paths are correct. Where is the problem?!
Thanks for help
Michael

