Java setup