Running SandMark

How you start SandMark will depend on your operating system. On Linux, you can run any of the following commands to start the GUI frontend or the command-line version of SandMark:
   > java -jar sandmark.jar
   > java -classpath sandmark.jar sandmark.gui.SandMarkFrame
   > java -cp sandmark.jar sandmark.smash.SandmarkCLI -U
To run SandMark from the command line see the help information for scripting .

Running Dynamic Watermarkers

In order to run any of the dynamic watermarking algorithms, you must have the file tools.jar on your classpath. You can do this in either of two ways. First, find the location of tools.jar on your system. It is typically in the lib subdirectory of your Java installation, but it may, of course, be found anywhere on your filesystem. Ask your system administrator. Then, start SandMark by saying
   > java -classpath /usr/java/.../lib/tools.jar:sandmark.jar sandmark.gui.SandMarkFrame
Where /usr/java/.../lib/tools.jar is the path to tools.jar

Alternatively, you can copy tools.jar into the JRE's extensions directory:

   > cp /usr/java/j2sdk1.4.2_01/lib/tools.jar /usr/java/j2sdk1.4.2_01/lib/ext/
Again, the actual paths will be specific to your particular installation. Then you should be able to run SandMark directly:
   > java -jar sandmark.jar

Requirements

To run SandMark you need at least JDK 1.4.0. To upgrade your JDK, go to java.sun.com and follow the appropriate links.

Example

Below is a view of the SandMark main page and an open Help window. The Help browser can is opened by selecting from the Help menu. You can also click on the Help button that is available on most windows which will take you to the most appropriate help page.