I think the javac documentation may help. Follow the link to javadoc, then the setting the classpath link, which brings you
here. It says,
C:> set CLASSPATH=classpath1;classpath2...
where:
sdkTool
A command-line tool, such as java, javac, javadoc, or apt. For a listing, see JDK Tools.
classpath1;classpath2
Class paths to the .jar, .zip or .class files. Each classpath should end with a filename or directory depending on what you are setting the class path to:
* For a .jar or .zip file that contains .class files, the class path ends with the name of the .zip or .jar file.
* For .class files in an unnamed package, the class path ends with the directory that contains the .class files.
* For .class files in a named package, the class path ends with the directory that contains the "root" package (the first package in the full package name).
I think that means you can write
set CLASSPATH=c:\JavaPrograms\speech\FreeTTS\freetts.jar;c:\otherFolder\otherFile.jar;.
The examples are given in Windows format; I am sure you can change it to OSX format.