Eclipse Developer

Start your Eclipse workbench. Click Help Install new software Add.; In the Add Repository window, click Archive.; Browse to the location of file of IBM WebSphere Application Server Developer Tools for Eclipse. ABAP Development Tool(ADT) is an Eclipse based tool provided by SAP. You will need ADT if you have to work on the HANA CDS Views. Even though, CDS views are embedded into the ABAP Dictionary, there are some differences in the features available between the Eclipse and the Data Dictionary environments. An Eclipse IDE for building and deploying Java EE, OSGi and Web 2.0 applications to WebSphere Application Server V8.5x. For more information about installing and downloading the tools, including archived versions of the tools for older versions of Eclipse, see WebSphere Application Server Developer. Like many other development environments, the BrightScript Eclipse plugin can produce in-line documentation through the simple use of special tags in source code comments. An example of the kind of hover help documentation that can be generated is shown below. Eclipse Platform defines the set of frameworks and common services that collectively make up infrastructure required to support the use of Eclipse as a component model, as a Rich Client Platform (RCP) and as a comprehensive tool integration platform. These services and frameworks include a standard workbench user interface model and portable.

Develop your software wherever you go. It'll be there, in the cloud, right where you left it. Use your browser to develop with hosted workspaces or install desktop packaging to experience a modern development environment for Java, JavaScript, CSS, and HTML.



Extend the extensible platform.

An impressive collection of tools can be easily installed into your Eclipse desktop IDE, including GUI builders and tools for modeling, charting and reporting, testing, and more.


Customize and extend Eclipse and make it your own.

Use the Eclipse Marketplace Client to find, install, and vote for new plug-ins from our vast ecosystem of providers.


Join the Community.

Extend the desktop and web-based IDEs by writing your own plug-ins using the Plug-in Development Environment (PDE), or mash up features to build the web IDE of your dreams.


Find an Eclipse open source project.

Eclipse is the development environment used since the inception of openHAB.To make development easier an out-of-the-box setup is available that completely configures Eclipse to easily develop for the openHAB projects.This guide describes the steps to setup Eclipse and how to run and debug an add-on in Eclipse.

Existing Eclipse Installations

If you already have Eclipse installed it is recommended to perform a separate Eclipse install for OpenHAB to avoid overriding your existing Eclipse configuration.

# Eclipse IDE Setup

  1. Install the Java 11 JDK if you did not have it installed.


    openHAB development requires Java JDK version 11.

  2. Download the 'Eclipse Installer': can be downloaded from the Eclipse web site(opens new window)

  3. Launch the Installer and on the menu on the top right (3 bars)

  4. Select ADVANCED MODE..

  5. Select Eclipse IDE for Java Developers. Select Next >.

  6. Under GitHub Projects > openHAB select openHAB Development and any desired option from openHAB Add-ons (includes all add-ons from openhab-addons repo), openHAB ZigBee Binding or openHAB Z-Wave Binding.

    SelectionInstall ifBranches
    openHAB DevelopmentDebug/Demo Environment (Required)2.5.x, 3.0
    openHAB Add-onsAdd-ons Development2.5.x, 3.0
    openHAB ZigBee BindingZigBee Binding Development2.5.x, 3.0
    openHAB Z-Wave BindingZ-Wave Binding Development2.5.x, 3.0
    openHAB BACNet BindingBACNet Binding Development
    openHAB Web UIsWeb UIs Development2.5.x, 3.0
    openHAB Core FrameworkCore Framework Development3.0


    Select 2.5.x if you want to develop for 2.5.x.The Core Framework only has a master branch (3.0 development), which means you can no longer make Core Framework changes for a 2.5.x system.

  7. Click Next>, verify/modify Root and install folder name. Click on Show all variables to open the window shown below.

    Explanation of some of the variables

    • Root install folder: The base folder where the Installation folder will be placed.
    • Installation folder name: This is the directory in the root install folder everything will be installed in.
    • GitHub user ID: This is your GitHub user name used to configure the cloned Git projects.
  8. Click Next> and Finish to start installation.

    During install accept licence agreement, 'Unsigned Content' for Bndtools, and Eclipse Foundation certificates when requested to complete IDE installation.

  9. At this point the Eclipse installer is finished and the Eclipse IDE is automatically launched to continue the installation process.


    It is important, during the first Eclipse IDE launch, to leave Eclipse open until all openHAB related initial Setup tasks / Download sources / Builds are completed.

    Force restart mac computer manually. Setup tasks will personalize the IDE with openHAB code formatting tools, configurations and a demo app.Setup tasks will also download openHAB latest projects you have selected during installation. Like openhab-distro and the add-ons openhab-addons project if you have selected it.

    Click bottom right button in the IDE for Progress.

  10. After all tasks are finished you are ready to start developing.

  11. If you need additional libraries see the Build System documentation.For other libraries supported out-of-the-box check the Default Libraries on the guidelines page.

# Working with Add-ons

To easily run, modify and debug an add-on the openHAB Development setup installs and imports a demo project that contains a complete openHAB environment to run and debug an add-on.This mechanism replaces the add-on installation process via the UI that you would use outside the IDE.

# Running Add-ons

Under Infrastructure you will find the project project contains the full configuration to run OpenHAB.The following files are of interest for the execution environment:

  1. To let the demo project know about the add-on, the add-on must be added to the demo project pom.xml.Here is an example for the astro binding:

  2. To run the add-on with the app.bndrun run configuration.Double click to open app.bndrun file (takes a few seconds):

  3. Under Browse Repos search for the add-on you want to run (astro in our case) and add it to the Run Requirements list using drag&drop from the Browse Repos list:


    If you cannot find the binding you want run/debug in the Browse Repos list, or the list is empty,then it is likely either the pom.xml of the demo project contains an error or there is a build problem with your project.Check if your project has no compile errors.Or run Maven on the command line to check if it reports any errors.

  4. Save and click 'Resolve': a window with the list of resolved bundles will be shown.Click Finish and save the file.


    Watch out - it's easy to miss saving the app.bndrun file.If you see the little asterisk next to app in the app tab you haven't yet saved.

    Now the IDE is ready to start openHAB with a minimum set of the openHAB core bindings, UIs and the add-ons you configured.

  5. Start openHAB from the IDE by clicking 'Run OSGi' (upper right of the app.bndrun window).

  6. You can check that openHAB is running with your browser by going to: http://localhost:8080/ (the last / is important!)

  7. You can check log output in the Console tab at the bottom.

  8. Check the chosen binding is active in UI > Settings > Bindings

View all the above steps in a single animation:

# Modifying and Debugging Add-ons

If you don't just want to run an add-on, but also want to modify and debug it you need to install sources for the add-on and build them locally.

  1. Install Sources

    Sources are installed by cloning the openHAB Add-ons(opens new window) repository.If you select openHAB Add-ons during installation the installer automatically clones the openHAB Add-ons(opens new window) repository into gitopenhab-addons under your installation folder.

    If you didn't install openHAB Add-ons you can manually clone the openHAB Add-ons(opens new window) repository by executing git clone in the git folder under your installation folder.

    You can now modify add-on sources as needed.

  2. Build Sources

    Add the add-on as an Eclipse project so that Eclipse will build it automatically.Import the add-on project via File > Import.. > Maven > Existing Maven Projects.Specify your add-on's source root folder (e.g. gitopenhab-addonsbundlesorg.openhab.binding.astro under the installation folder) as the root folder in the wizard.

  3. Start a Debug Session

    Simply start your debug session by clicking 'Debug OSGi' (upper right of the app.bndrun window).You can now use breakpoints and all other Eclipse debug tools.

EclipseEclipse Java development tools (JDT)   The Eclipse Foundation

Where do add-on jar files come from?

Eclipse developer forum

If you just run an add-on following the above steps then the required add-on jar files are retrieved through your Maven repository folder .m2/repository (e.g. .m2repositoryorgopenhabaddonsbundlesorg.openhab.binding.astro).If you imported your add-on as a project then the jar file is no longer retrieved from the Maven repository, but instead from the project build (e.g. gitopenhab-addonsbundlesorg.openhab.binding.astrotarget under the installation folder).

Eclipse Programming Environment

# Using New Bindings

If you want to develop a new binding read about the Skeleton Script to generate the base for your binding and create all required files.Then follow the above steps to build your sources and to configure the demo app to run your binding.

OSGi For Eclipse Developers

# Updating OpenHAB

Download Eclipse For Windows 10

You can update the OpenHAB version you are running in the IDE at any time simply by updating your git repos under your install folder.For example to update to the latest version run git checkout in each repo folder under your git folder in the installation folder.

How To Install Eclipse Java Development Kit JDK On Windows 10

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub(opens new window)