change repo java to working version and fix sh download repo