Azure Toolkit for Eclipse

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32)

https://azuredownloads.blob.core.windows.net/eclipse/

Learn more...
Solution Description

The Azure Toolkit for Eclipse provides functionality that allow you to easily create, develop, configure, test, and deploy lightweight, highly available and scalable Java web apps and HDInsight Spark jobs to Microsoft Azure using the Eclipse development environment running on Mac OS, Linux and Windows. It also contains all the key Azure service API clients for Java, exposed as Eclipse libraries, including the Azure Management SDK, Storage SDK, Application Insights SDK and JDBC (for SQL Server and Azure SQL Database). Other key features of the Azure Toolkit for Eclipse include:

  • quick deployment of a Java application to an Azure Web App container
  • quick dev/test deployments of Java applications to Docker containers running within Azure Docker Host VMs, for which the plugin also provides basic management support
  • create Spark applications for Azure HDInsight Spark Linux cluster using Java or Scala
  • author, submit, manage, debug locally or in cluster the HDInsight Spark applications
  • use any JVM with your cloud app, including the OpenJDK (e.g. Azul Zulu) or the Oracle JDK
  • deploy any application server, including Tomcat, Jetty, JBoss or GlassFish; or rely on a version of Tomcat or Jetty made available in Azure by Microsoft
  • use the Azure Explorer view to navigate and manage your Azure storage accounts (blobs, tables, queue), web apps, HDInsight (Spark) resources, Docker hosts and published Docker containers on Azure
  • program against Azure's services such as Storage, Azure SQL Database and more, using the Azure SDK APIs for Java
  • enable automated telemetry for your applications using Application Insights logging directly into the Azure cloud, regardless of where your application is running

Learn more at the documentation site, and learn more about Java on Azure in general at the Azure Developer Center for Java.

Categories: Build and Deploy

Additional Details

Eclipse Versions: 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), 2023-12 (4.30), 2024-03 (4.31), 2024-06 (4.32)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Microsoft Corp.

Development Status: Production/Stable

Date Created: Tuesday, September 16, 2014 - 16:39

License: Other

Date Updated: Friday, October 6, 2023 - 10:51

Submitted by: Martin Sawicki

Date Ranking Installs Clickthroughs
June 2024 109/625 137 14
May 2024 98/682 380 31
April 2024 122/687 290 23
March 2024 92/694 428 26
February 2024 117/687 282 27
January 2024 128/691 266 28
December 2023 96/671 371 15
November 2023 108/686 386 15
October 2023 116/673 366 15
September 2023 99/663 416 22
August 2023 106/673 348 10
July 2023 112/668 346 11
View Data for all Listings

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Azure Toolkit for Eclipse.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

Hello,

I tried to deploy an application from Eclipse to Azure but I failed signing in. I'm using Macbook pro M1.
This is the error Eclipse showed me :

Azure: Failed to proceed, java.lang.NullPointerException: Cannot invoke "com.azure.core.http.HttpResponse.getBodyAsString()" because the return value of "com.azure.core.exception.HttpResponseException.getResponse()" is null.

In Eclipse Oxygen.3a Release (4.7.3a), click "Show Azure Explorer", the "Azure Explorer" does not display. Under Window > Show View > Other... In Show View, under Azure, select Azure Explorer, the following error appears in Azure Explorer tab:

Plug-in com.microsoft.azuretools.azureexplorer was unable to load class 
com.microsoft.azuretools.azureexplorer.views.ServiceExplorerView. 
org.eclipse.core.runtime.CoreException: Plug-in com.microsoft.azuretools.azureexplorer was unable to load class com.microsoft.azuretools.azureexplorer.views.ServiceExplorerView. at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at 
org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:59) at

... 

Hi
My organization's proxy settings does not allow installation from Market Place.
Where can I download Azure Toolkit for Eclipse for offline installation?

Thanks...
Steen

I am using Eclipse 2020-03 (4.15), installed this plugin via Eclipse Marketplace (drag and drop doesn't work).  The installation was successful.  After the installation, on a Java Project selected Properties > Java Build Path > Libraries > Add Library > Selected "Package for Microsoft Azure Libraries for Java".  Upon Next, says the error "The selected version is not available". Please advise.

I can see an entry in "Azure Activity Log" regarding this deployment. But the progess bar gets stuck after a while and remains the same.

I have checked server logs for deployment on that particular app service and see no issues, deployment got completed very soon. I am assuming that the issue is with “Ecplise plugin” .

Please let me know if I am missing something or anyone has faced it earlier.

 

This is the first time I am using Azure toolkit plugin to deploy a war in App services.

In the "Azure Activity Log" it shows one item in listing after it starts deploying. And then I see the progress bar getting stuck after a couple of seconds (i.e. 40%) and then it stays there forever.

I have checked server logs for deployment on that particular app service and see no issues, deployment got completed very soon. And seemed the plugin is probably not able to read the status of the deployment.

Could it be an issue with the plugin itself. Please let me know if any of you have faced it before or if I am missing something.

 

Hi there,

i tried to remote debug a simple Hello World dynamic Web App via Eclipse.

I did the following:

- creation of the dynamic webapp as eclipse project

- deployment of the webapp to manual created Azure Web app based on the latest Java & Tomcat 8.0 latest

-> successfull

- Creation of a secondary Azure Web App via Eclipse and Azure Toolkit for Eclipse - Deployment of Hello World Webapp

-> successfull

- enabling of Remote Debugging and Websockets at the Azure Web App

1. Issue is that the Debug as "Azure Web App" Option is missing as described here:

github.com/uglide/azure-content/blob/master/articles/app-service-web/app-service-web-debug-java-web-app-in-eclipse.md

2. when i want to use the remote debugging via Java Remote App and Server APPxyz.scm.azurewebsites.net Port 50148 eclipse throws the error "Failed to connect to remote VM. Connection refused. Connection time out: connect

3. when using remote debug via Jdebug (using the Azure Web App Deploy credentials) and localhost 8000 the same error occurs.

 

Thanks for your support

First things first thanks for the awesome plug-in that gave an easy option to publish our spring boot app to Azure. However the deployment is directly happening to a web service. Is there any setting or option by which can install the web app to a deployment slot instead of the website root. All the options tried through the current plug-in has NO mention of deployment slot. I was not able to get reliable documentation from Eclipse or Microsoft sites on this topic. Your replies would be greatly appreciated as we need to leverage the slots as a design pattern/best practice. 

In reply to by Venkat Baskaran

Hi Venkat,

Thanks for the feedback. Deployment Slot is a very useful feature and we will consider to support it in the plugin. For now, if you want to deploy a Java Web App project into a Deployment Slot on Azure, there is another option/workaround for you. We have Azure Web App Maven plugin to support this. You can find more details here: https://github.com/Microsoft/azure-maven-plugins/blob/develop/docs/web-…

Thanks,

Hi,

Since the url i.e. dl.microsoft.com/eclipse/ is not accessible, unable to install the azure tool kit. Is there any other url to refer to, or is there any other older stable version? I guess the one expected at dl.microsoft.com/eclipse/ is 3.5.0.

Any pointer in this regards will be highly appreciated.

thanks,

When I try to sign in to my microsoft account, the plugin returns the following error in the Terminal.

Error sending IPC message: Broken pipe
doSignIn@SingInDialog: null
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:398)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:481)
at com.microsoft.azuretools.core.ui.SignInDialog.signInAsync(SignInDialog.java:305)
at com.microsoft.azuretools.core.ui.SignInDialog.doSignIn(SignInDialog.java:274)
at com.microsoft.azuretools.core.ui.SignInDialog.okPressed(SignInDialog.java:237)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:466)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at com.microsoft.azuretools.core.ui.SignInDialog.go(SignInDialog.java:99)
at com.microsoft.azuretools.core.handlers.SignInCommandHandler.doSignIn(SignInCommandHandler.java:50)
at com.microsoft.azuretools.azureexplorer.AzureModuleImpl$SignInOutAction$1.actionPerformed(AzureModuleImpl.java:63)
at com.microsoft.tooling.msservices.serviceexplorer.NodeActionListener.actionPerformedAsync(NodeActionListener.java:51)
at com.microsoft.tooling.msservices.serviceexplorer.NodeAction.fireNodeActionEvent(NodeAction.java:60)
at com.microsoft.azuretools.azureexplorer.views.ServiceExplorerView$2$1.run(ServiceExplorerView.java:328)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.ExceptionInInitializerError
at com.microsoft.azure.management.resources.implementation.ResourceManager$AuthenticatedImpl.<init>(ResourceManager.java:136)
at com.microsoft.azure.management.resources.implementation.ResourceManager.authenticate(ResourceManager.java:67)
at com.microsoft.azure.management.Azure$AuthenticatedImpl.<init>(Azure.java:258)
at com.microsoft.azure.management.Azure$AuthenticatedImpl.<init>(Azure.java:251)
at com.microsoft.azure.management.Azure.authenticate(Azure.java:143)
at com.microsoft.azure.management.Azure$ConfigurableImpl.authenticate(Azure.java:193)
at com.microsoft.azuretools.sdkmanage.AccessTokenAzureManager.authTid(AccessTokenAzureManager.java:133)
at com.microsoft.azuretools.sdkmanage.AccessTokenAzureManager.getTenants(AccessTokenAzureManager.java:118)
at com.microsoft.azuretools.authmanage.AdAuthManager.signIn(AdAuthManager.java:84)
at com.microsoft.azuretools.core.ui.SignInDialog$5.run(SignInDialog.java:289)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.NullPointerException
at com.microsoft.azure.AzureServiceClient.<clinit>(AzureServiceClient.java:74)
... 11 more
Canceled by the user.