Java Command Line To transform a Tiff file into PDF: Set CLASSPATH to include the full path of the jar file. For Windows:set CLASSPATH=<directory>\*; For example: set CLASSPATH=C:\tiff2pdf\*; For other operating systems:export CLASSPATH="<directory>/*:"$CLASSPATH For example: export CLASSPATH="/tiff2pdf/*:"$CLASSPATH Note: Setting CLASSPATH should be on a single line. Run Java command. This requires a tiff2pdf.jar file. Parent topic: Running Java version of Tiff2PDF