These samples are already compiled and are provided together with their source code.
The samples are in <install_path>/classes/ctgsamples.jar.
com.ibm.ctg.samples.type_of_sample