Sometimes user face the issue of JDK installation gets hanged in case the OS of the server is Windows Server 2012 and keeps showing "Please wait while the application is preparing for the first use" message:
- To resolve open gpedit.msc (type gpedit.msc in run and enter) and browse to 'Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Application Compatibility'
- Set 'Turn off Windows Installer RDS Compatibility' to Enabled
- run the following command: 'gpupdate /force'
- After that try installing the software again