Add java version + fix get path