#!/usr/bin/csh -f # Let the java interpreter know where to look for the thread demo. # The java interpreter looks for class files in the directories listed # in the environment variable CLASSPATH. setenv CLASSPATH ${CLASSPATH}:/project/merengue/seth/rmi/classes # Run the RMI Demo # Run the registry on the local machine /pkg/java/bin/java java.rmi.registry.RegistryImpl& # Run the server on the local machine /pkg/java/bin/java java.rmi.examples.talk.ServerImpl& # Repeat on the remote machine # On one side attempt to connection to a server on the other side /pkg/java/bin/java java.rmi.examples.talk.TalkWindow