Update java classpath and add git url rewrite script.