Now that you have mentioned the tool you are using, let me walk you through the entire process myself. The thing is, that on a cloud platform you cannot expect to run an installer, even if they let you, the virtual machine will eventually trigger and clean up the temp folders — your content is always in a virtual environment, even if you pay for a physical server.
So, how to get Java JDK on Azure? Well, you already have that... :-)
Azure provides you with all of the libraries that you require, to run an application. Python, Java, Node.js, .NET framework, all of them are supported and provided there, if you dig a bit deeper in the control panel of Azure — I am talking about the Kudu control panel, then you will be able to find that the javac (Java Compiler), and the Java JVM (java.exe) are all provided to you in the machine itself. For instance, go here,
cd D:\Program Files\Java\jdk1.8.0_73\bin
Then, if you do a
dir
you will see the list of binaries. They contain everything you need to compile the Java code, or run the Java code to show the output.
You would require to access the runtime information, such as environment variables, to determine where these binaries are provided and then target them from within the application.
Your control panel can be easily found at,
<your-web-app-name>.scm.azurewebsites.net. You can then go to the Debug console, and roam around your service.
For resources, directly related with Java development on Azure, or the available tools and services, please review the
Java developer center | Microsoft Azure[
^] documentation.