Updated java to make smaller