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

Recommended Answers

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

Jump to Post

All 2 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.