Gord's bundled PC^2 and Java Contest Environment (for Linux)

PC^2 works with Redhat 7.2, but the default /etc/hosts file created by Redhat 7.2 has to be fixed. You will find it looks something like this:

   127.0.0.1 apl.uwaterloo.ca apl localhost.localdomain localhost
In this case the machine's name is apl.uwaterloo.ca, but the IP address is incorrect. You can get the real IP address with the host command:
   % host apl
   apl.uwaterloo.ca. has address 129.97.78.226
Then you have to add a correct line to the /etc/hosts file, and delete the hostname from the localhost line:
  129.97.78.226 apl.uwaterloo.ca apl
  127.0.0.1 localhost.localdomain localhost