C:\Program Files\Java\jdk1.6.0_18\bin>javac -d ../bin rmidir\Chatserver.java
rmidir\Chatserver.java:6: cannot find symbol
symbol : class Chatclient
location: interface rmidir.Chatserver
public String[] login(Chatclient cc) throws RemoteException;
^
1 error

The class Chatclient must be present at provided location.... If its in a jar that jar must be included at source location.

Is the definition for the Chatclient class on the classpath so the compiler can find it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.