How can I run a .jar file on azure
<p>I have a complicated .jar file that I need to run on azure (C# ASP.NET). On my local system, I simply run java.exe and pass it the jar as an argument. I would like to do the same on the server, however, I don't know where java.exe is located.</p>

<p>I have had a look at the environment variables and found many jdk and jre references, so I assume it is possible.</p>

<p>I can not use ikvm, as the jar is too complex that it isn't running correctly. </p>

<p>So, as a summary: Where is the java.exe located on azure? And if it's not (and I can't do this), what else can I do?</p>

<p>EDIT:</p>

<p>To clarify more: I am developing a web app using ASP.NET. I have a .jar file that I have to run, and on the local machine I run it using:</p>

<pre><code> processStartInfo = new ProcessStartInfo("java");
 processStartInfo.Arguments = arguments;
 //more options
 Process process = new Process();
 process.StartInfo = processStartInfo;

 process.Start();
 process.WaitForExit();
</code></pre>

<p>Now I am publishing this website to Microsoft's azure services, and I would like to do the same thing. Except, running it as is tells me that the process can't be run (ie they don't understand what "java" is). I want to find a way to be able to call java as a process. Obviously, if I know the path to java.exe, I simply run the path as a command and I'll be done (ie it'll execute java). That's what I need help with.</p>