Once you have built the Java example applications, go to the java/scripts directory and execute the .sh scripts for Solaris and Linux environments or .bat scripts for Windows environments:
Syntax: script_name arguments
See the scripts for details of how the applications are run.