add generation of CLASSPATH for java scripts as requested by https://savannah.cern.ch/bugs/index.php?89145