changing java install in build script