Azure provides a very rich library of dependent libraries, development tools, and related plugins for Java developers, allowing you to manage and develop azure services through Java, first of which is how to quickly configure Java development tools, Mainly for the current popular eclipse and IntelliJ idea tools.
This article is mainly a basic configuration of the introduction, mainly divided into the following three parts:
- Prepare your Azure Test account
- Preparing the Azure development environment for Eclipse
- Preparing the Azure development environment for IntelliJ idea
?
Prepare your Azure Test account
First you need to have an Azure China test account. You can apply for a test account through azure.cn, or if your business has already purchased Azure, ask your system administrator to get your subscription's username and password. Again not to repeat.
Azure development environment configuration for Eclipse
- To download eclipse or its derivative version, if it is eclipse, please download it on the website:
https://eclipse.org/downloads/
?
- Or you can download the spring-developed SpringSource toolsuite (STS):
Http://spring.io/tools/sts/all
?
- Open Eclipse or STS, select "Help", "Install New Software" and select "Add" in the popup dialog box:
?
?
- Enter Azure or your preferred name in the "Name" box, enter: Http://dl.microsoft.com/eclipse in location, select OK:
- In the dialog box that appears, select all for Azure Toolkit for Java, and for the Team Explorer Everywhere tool, for Microsoft VS TFS and Visual Studio online, the China Zone is not online , if you want to develop a program for global Azure, you can choose, then select "Next", wait for the download to complete, complete the installation:
?
?
Configuring the IntelliJ idea for azure development environment
?
- Download and install IntelliJ idea. Intellij idea is a commercial software that you can download on the website. and apply for 30 days of use:
Https://www.jetbrains.com/idea/?fromMenu
- Open idea and choose file->setting:
?
- Select Plugins, and then click Browser Repositories on the menu below to enter "Azure" in the Search bar:
- You can see that there are three optional plugins:
Azure Toolkit for intellij:2016 New Azure plug-in specifically for IntelliJ, recommended installation
MS Azure HDInsight Tools for IntelliJ: Developer kit for HDInsight and spark
MS Open Tech Tools: Includes plug-ins for mobile service, Azure SDK, but hasn't been updated for nearly a year, and can be installed if there are Android development requirements.
?
- Select the plugin you need to install and then restart idea to complete the installation. After the reboot is complete, check the plugins status and you should be able to see the Azure plugin:
Using Java to manage Azure (1): Basic configuration