Setting up Java dev environment for Azure

Please follow the following steps for setting up Java development environment for developing Windows Azure applications. This also applies if you plan to develop applications that interact with Windows Azure Active Directory.

1.    Install JDK

Download the latest version of Java Development Kit (JDK) 7 from the following link: Once downloaded, install this in your development environment.

2.    Install Java Enterprise Edition SDK

Download the latest version of Java EE 7 Software Development Kit (SDK) from the following link: The installer will be downloaded as a Zip file. Unzip it into the required directory. I choose to unzip it in "C:\Program Files\Java\Java EE".

3.    Install JBoss Application Server 7

Download JBoss Application Server (AS) 7.1.1 Final (or later) from the following link: Once downloaded, unzip all the files at a particular location. For the sake of this document, let’s assume we’ve unzipped them into “C:\JBoss Application Server 7.1”.

4.    Download JBoss Developer Studio

Download JBoss Developer Studio from the following link: Once downloaded, install this in your development environment. When prompted to scan for servers, make sure you include the location for your JBoss Application Server (as per our previous assumption, installed in “C:\JBoss Application Server 7.1”.

5.    Update JBoss Developer Studio

Once JBoss Developer Studio is installed, go to Help > Check for Updates. The Developer Studio will now update itself. This might take a few minutes. Once the updates complete, JBoss Developer Studio might ask you to restart it. If prompted, say yes.


6.    Install Windows Azure Tools for Eclipse & JBoss Developer Studio

In JBoss Developer studio, go to Help > Install New Software.


In the Work with text box, type and press the “Enter” key. Now select “Windows Azure Toolkit for Java” and click “Next”. Follow through the Wizard to install the Azure plugins.


7.    Install Microsoft Online Services Sign-In Assistant for IT Professionals

Install the 32 or 64 bit version (as applicable) of Online Services Sign-In Assistant from the following link:

8.    Install the Azure Active Directory module for Windows PowerShell

Install the 32 or 64 bit version (as applicable) of PowerShell for Office 365 from the following link:

9.    Download Azure SDK Java Samples

Visit the GitHub repository for Java samples for Azure SDK here: Click on the Code “<>” icon on the right and click “Download ZIP” to download the entire repository to your local machine. Then, unzip it at a particular location. Let’s assume we’ve unzipped it at “C:\AzureJavaSamples”.

10.    Install Windows Azure SDK

Now, your JBoss Development Studio should have a “Windows Azure Deployment Project“. Let’s download the only missing component now. Fire up JBoss Developer Studio and go to File > New > Other.


In the “Wizards” filter, type “Windows Azure”. This should bring up “Windows Azure Deployment Project”.


Now click “Next” button, you will receive a prompt asking to install the latest Windows Azure SDK. Say “Yes”.


This will open a web page and download Web Platform Installer. Open the Installer and click on “Install” button.


On the resulting screen, click on “I Accept” to accept the details. Once the installation completes, you will get the completion windows as shown below. Click on “Finish” and then “Exit” to exit Web Platform Installer.


11.           Install additional Web Servers if required

If you plan on using other Web Servers such as Tomcat or GlassFish, install them from their respective locations. If you’re installing additional servers, make sure you configure them to appropriate ports so they don’t conflict with the Web Server in which you want to debut and test your projects.

12.           Install additional IDEs if required

If you want to work with other IDEs such as Eclipse, go ahead and install them. For Eclipse, remember to choose the JEE version.

13.           You’re good to go

Now, you should be good to go. Go ahead and start developing some samples from, or