Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To execute the Java web jobs on Azure, follow the below steps :
1. Open Eclipse and create a Java Project and Java program for your application in your eclipse workspace.
2. After creating your application, create a batch file with following text -
set PATH=%PATH%;%JAVA_HOME%/bin
java <Your Main Class name>
3. Bundle the batch file and your class files in a compressed zip file.
4. Create a Web App on Azure portal and upload your zip file to Azure using the steps mentioned at -
https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/
You can set the desired execution frequency for the web job as mentioned in the above blog.
Please sign in to use this experience.
Sign in