ReadMe for Java API Sample applications.

The Java API samples are simple demonstrations of using the Java API.

To run the sample applications:

1. Copy the APISampleModule folder from the MediaRich APIs folder to the MediaRichModules folder. This module contains the script and property definitions for the sample applications.

2. Restart the MediaGenerator.

3. To build the applications, open a command prompt in the \MediaRich Media Server\MediaRich APIs\Java API\sample directory and execute:
	javac *.java -cp ../MediaRichAPI.jar -d .

4. From the same directory (\MediaRich Media Server\MediaRich APIs\Java API\sample), run either sample application as

	java -classpath ".;../MediaRichAPI.jar" sample.Sample

	or the Batch Sample application as

	java -classpath ".;../MediaRichAPI.jar" sample.BatchSample
	
5. Check for output.gif, a scaled and converted version of sample.jpg or if you ran the Batch Sample output.zip, a zip file with all the results of your batch.
