When java is not installed, it prompts to download java while installing but shows a failed status after installing java. However going back and next would show an 'installed' status and the installation can be continued.
Steps to reproduce:
1. Make sure java is not installed in the system and then install Appcelerator studio
2. Allow java to be downloaded when prompted
1. Appcelerator installation will start
2. Java downloading will start and the status of the download will be shown and once finished shows a 'failed' status
The screenshots of the results are attached below