RPM Notes ========= When installing from RPMs, the demos for a particular language mapping are included with the appropriate 'devel' RPM. For example, the Java demos are included in the ice-java-devel RPM. We recommend that you copy the demo subdirectories from the RPM installation directory to your home directory. Building the Demos ================== These instructions assume that you have correctly configured your environment according to the directions in the README or platform- specific INSTALL file included with your Ice installation. You can build the demos by visiting each demo directory (e.g., demo, demoj, democs) and running 'gmake' or 'ant' as appropriate. The Ice for Python demos do not need to be compiled. gmake 3.80 is required to build the C++ and C# demos. The 'ant' utility is required to build the Java demos, and can be downloaded from http://ant.apache.org/bindownload.cgi Ice requires ant 1.6.1 or later, but we recommend using the most recent release. Running the Ice Demos ===================== Most demos consist of a single server and client. The instructions to run a demo depend on the programming language. Instructions for each language are included below. Some demo directories contain README files if additional steps are necessary. Running the C++ demos ===================== To run a demo, open a terminal terminal window, change to the desired demo directory, and enter the following command to run the server: $ ./server To run the client, open another terminal window, also change to the desired demo directory, and run: $ ./client Running the Java demos ====================== To run the demos you need to add classes to your CLASSPATH. export CLASSPATH=classes:$CLASSPATH To run a demo, open a terminal window, change to the desired demo directory, and enter the following command to run the server: $ java Server To run the client, open another terminal window, also change to the desired demo directory, and run: $ java Client Running the C# demos ==================== The C# demos are only officially supported under Linux or Windows, therefore the Ice for C# runtime is only included the Linux and Windows distributions. To run a demo, open a terminal window, change to the desired demo directory, and enter the following command to run the server: $ ./server.exe To run the client, open another terminal window, also change to the desired demo directory, and run: $ ./client.exe Running the Python demos ======================== To run a demo, open a terminal window, change to the desired demo directory, and enter the following command to run the server: $ python Server.py To run the client, open another terminal window, also change to the desired demo directory, and run: $ python Client.py