Add HTTP protocol to download application and fix error on jdk profile