/>
RCFProto Java Demo
This section describes how to build and run the RCFProto Java demo server and client, on Windows. You will need the Win32 binary distribution to follow these steps.
Building the Java demo server and client
- From the root directory of the distribution, change directory to the demo directory:
cd java\demo
- Generate source code for Protocol Buffer messages:
..\bin\protoc.exe Demo.proto --java_out=.
- Create directory for class files:
mkdir class
- Build demo server and demo client:
javac DemoClient.java DemoServer.java Proto.java DllPathResolver.java -d class -classpath ..\bin\RCFProto.jar;..\bin\Google.ProtocolBuffers.jar
Running the Java demo server and client
- Cd to class directory where the demo server and client have been built to:
cd class
- Run the demo server:
java DemoServer
- Run the demo client (in a different command prompt):
java DemoClient