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

[2570 byte] By [Mike83ia] at [2007-10-2 9:27:19]
# 1
Does your classpath include a . (dot for the current directory)?
aniseeda at 2007-7-16 23:33:57 > top of Java-index,Developer Tools,Java Compiler...
# 2
Hi,thanks. You're right. I added a dot to the classpath and it worked!GreMichael
Mike83ia at 2007-7-16 23:33:57 > top of Java-index,Developer Tools,Java Compiler...
# 3
The pleasure is all mine. :)
aniseeda at 2007-7-16 23:33:57 > top of Java-index,Developer Tools,Java Compiler...