Download the required Java version based on the requirements of an application, or install automatically.