fixing java bin/common.sh