Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / IoT

Install Eclipse IDE on Intel IoT Platforms

5.00/5 (2 votes)
8 May 2015CPOL4 min read 13.7K  
This guide explains how to install the Eclipse IDE on Windows, OS X, or Linux.

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

Overview

The Intel® IoT Developer Kit lets you create and test applications on Intel® IoT platforms. It helps you write applications in C and C++ languages and provides two libraries, specially designed for Intel IoT Developer Kit:

  • MRAA is a low-level library that offers a translation from the general purpose input/output (GPIO) interfaces to the pins available on Intel® Galileo and Intel® Edison boards.
  • UPM is a repository of sensors written in C++ and uses the MRAA library.

This guide explains how to install the Eclipse IDE on Windows*, OS X*, or Linux*.

Requirements

Program an SD with the Yocto Linux Image by going to the Programming a Blank SD card with a Yocto Linux Image instructions for Windows, OS X, and Linux. Due to the limited storage space onboard the Galileo, you need to run Yocto off of the SD card to use the libraries needed to work with the Eclipse IDE.

  • Eclipse depends on a Java* Runtime Engine (JRE) to execute. If you don’t have JRE installed, you will see a message similar to this one:

    Image 1

    If you see this message, install JRE or a Java Development Kit (JDK). You can download either from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/index.html.

    Install the 64-bit JRE or JDK (indicated by x64 in the download name) — not the 32-bit (x86) version.

Image 2

Figure 1 - 7-Zip Installation Wizard

Install the Intel® IoT Developer Kit version of Eclipse

  • Windows:

    7-Zip supports extended path names, which some files in the compressed file have, so only use 7-Zip software to extract the installer file.
    1. Install 7Zip (Windows only)
      • Download the 7-Zip software from http://www.7-zip.org/download.html.
      • Right-click on the downloaded executable and select Run as administrator.
      • Click Next and follow the instructions in the installation wizard (Figure 1).
    2. Download the Eclipse IDE installer file for Windows.
    3. Using 7zip, extract the installer file. Right-click the installer file and select Extract here.

Image 3

  • OS X:
    1. Download the Eclipse IDE installer file for OS X. Extract the installer file, as follows:
      • Open a new Terminal window.
      • Navigate to the directory that contains iotdk-ide-mac.tar.bz2.
      • Type tar -jxvf iotdk-ide-mac.tar.bz2 to extract the tar.bz2 file.

Note: If you see a message that says "devkit-launcher can’t be opened because it is from an unidentified developer", right-click the file and select Open with. Select the Terminal app. In the dialog box that opens, click Open.

Launch Eclipse

  1. Once the file is extracted, navigate to the directory you created in the steps above: iotdk-ide-win, iotdk-ide-linux, or iotdk-ide-mac.
  2. Double-click devkit-launcher.bat to launch the Eclipse* integrated development environment (Figure 2).

Note: Using the batch file (instead of the Eclipse executable) will launch Eclipse with all the necessary environment settings. Use devkit-launcher.bat to launch Eclipse every time.

Image 4

Figure 2 - Eclipse integrated development environment

Next Steps

Troubleshooting

  • If you have any issues or questions, visit the Intel IoT Forum to post your questions and look for solutions.

Resources

Intel® Developer Zone for IoT

Start inventing today with the Intel® IoT Developer Program which offers knowledge, tools, kits and a community of experts to quickly and easily turn your innovative ideas into IoT Solutions.

Dream it, Build it with the Intel® IoT Developer Kit for Intel® Edison and Intel® Galileo platforms. These kits are versatile, performance-optimized and fully integrated end-to-end IoT solutions supporting a variety of programming environments, tools, security, cloud connectivity and hardware.

For more resources and to learn how the new Intel® IoT Developer Kit v1.0 can help streamline your IoT projects:

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)