Added build script for java on linux