I used the chat application on this link http://www.cs.umd.edu/class/spring2001/cmsc433-0101/
to produce a simple console text rmi chat application. But the following errors resulted and unable to resolve it.
> javac serverimpl\ServerImpl.java
uses unchecked or unsaved operations. Recompile with -Xlint:unchecked for details.
I decided to supress the warning and got it compiled successfully. The rmiregistry and the server "ServerImpl "started successfully also.
However, the client on "ClientImpl" compiled without errors but when i tried to run it with java -Djava.security.policy=pol
icy.txt clientimpl.ClientImpl then it reported the following errors
Exception in thread "main" java.lang.ArrayIndexOutOfB
ions: 0 at clientimpl.ClientImpl.main
I need your urgent assistance to get this application working.