[JAVA] I tried to create a plug-in with HULFT IoT Edge Streaming [Setup] (1/3)

Introduction

Hello. Yorozu Counselor Sugimon: yum :. This time, I will try to develop a component (adapter) using the SDK of HULFT IoT Edge Streaming. It is described so that it will be completed in all three parts.

What to do this time

This time, as the first step, I will try to prepare the environment as a setup for using the HULFT IoT Edge Streaming SDK. If you already have an environment, please skip it and refer to the articles in [Development] and [Execution] below.

: arrow_forward: I tried to create a plug-in with HULFT IoT Edge Streaming Setup : arrow_forward: [I tried to create a plug-in with HULFT IoT Edge Streaming Development](https://qiita.com/sugimon/items/67bdd6f610e03cdfcef2) : arrow_forward: [I tried to create a plug-in with HULFT IoT Edge Streaming Execution](https://qiita.com/sugimon/items/93f47d7bd472a8b18e54)

Environmental preparation

This time, I will describe the items that are required in advance when trying to create a plug-in.

Required software

Download and install each software.

software The version installed this time
JDK AdoptOpenJDK 11 (HotSpot)
Build tool Apache ant 1.10.After 0
Golang Go 1.13 or later
EdgeStreaming HULFT IoT EdgeStreaming Ver.2.1.0
SDK HULFT IoT EdgeStreaming-sdk Ver.2.1.0

By the way, the environment I tried is as follows. ・ JDK (jdk 11.0.6.10 HotSpot) ・ Build tool (Ant 1.10.7) ・ Golang (1.13.7) ・ HULFT IoT Edge Streaming and HULFT IoT Edge Streaming SDK (2.1.0)

Setting environment variables

Set the environment variables for each installed software.

-Set the JDK path. For JAVA_HOME, specify the path where the JDK is installed. image.png

-Set the path of the build tool. For ANT_HOME, specify the path where ANT is installed. image.png

-Set the Golang path. Specify the path where Golang is installed in GOROOT. image.png

-Setting the PATH environment variable Set the PATH environment variable to pass the command execution path. %JAVA_HOME%\bin %ANT_HOME%\bin %GOROOT%\bin

(Setting Example) image.png

From the command prompt, execute the command of each software and check the execution path. java –version ant –version go version

(Execution result) image.png

There is no problem if each version is displayed as shown in the image.

Set the path for HULFT IoT Edge Streaming

Edit the "$ SDK_HOME \ dev \ build.properties" file located at the destination where you unzipped the SDK. Set the dataspider.home property to the directory path where HULFT IoT EdgeStreaming Ver.2.1.0 is installed.

######################################################################
# Build Configuration
#
#dataspider.home=<dataspider.server.installed.directory>
#encoding=<file.encoding>
#
######################################################################
dataspider.home=C:\\EdgeStreaming-v210
encoding=UTF-8

image.png

At this point, the environment for creating the plug-in is ready. From the next time onward, I would like to actually develop the plug-in.

Finally

This time, I tried to build the environment required before creating the plug-in. Once the required software setup and path are passed, the development environment is ready. I would like to implement it in the development section.

In this blog, I would like to continue to introduce the contents of consultations at the "Yorozu Consultation Counter" of technology and the tricks that were born.

Please continue to check it out and follow us if you like.

See you again!

Recommended Posts

I tried to create a plug-in with HULFT IoT Edge Streaming [Setup] (1/3)
I tried to create a plug-in with HULFT IoT Edge Streaming [Development] (2/3)
I tried to create a plug-in with HULFT IoT Edge Streaming [Execution] (3/3)
I tried to create a table only with Django
I tried to create a linebot (implementation)
I tried to create a linebot (preparation)
I tried to create a list of prime numbers with python
I tried to create Bulls and Cows with a shell program
I tried to put HULFT IoT (Edge Streaming) in the gateway Rooster of Sun Electronics
I tried to create a program to convert hexadecimal numbers to decimal numbers with python
[Outlook] I tried to automatically create a daily report email with Python
When I tried to create a virtual environment with Python, it didn't work
I tried to easily create a fully automatic attendance system with Selenium + Python
I tried to create a button for Slack with Raspberry Pi + Tact Switch
I tried to create a model with the sample of Amazon SageMaker Autopilot
How to create a submenu with the [Blender] plugin
I tried to draw a route map with Python
I tried to automatically generate a password with Python3
I tried to create a reinforcement learning environment for Othello with Open AI gym
[Python] I tried to automatically create a daily report of YWT with Outlook mail
I tried to create a class to search files with Python's Glob method in VBA
I tried scraping food recall information with Python to create a pandas data frame
I tried to implement a volume moving average with Quantx
I tried to solve a combination optimization problem with Qiskit
I tried to get started with Hy ・ Define a class
I tried to create a bot for PES event notification
I tried to divide with a deep learning language model
I tried to create an article in Wiki.js with SQLAlchemy
I tried to make it on / off by setting "Create a plug-in that highlights double-byte space with Sublime Text 2".
I tried to create Quip API
[5th] I tried to make a certain authenticator-like tool with python
I tried to create a server environment that runs on Windows 10
I tried to create a simple credit score by logistic regression.
[2nd] I tried to make a certain authenticator-like tool with python
A memorandum when I tried to get it automatically with selenium
I wanted to create a smart presentation with Jupyter Notebook + nbpresent
[3rd] I tried to make a certain authenticator-like tool with python
[Python] A memo that I tried to get started with asyncio
I tried to register a station on the IoT platform "Rimotte"
I tried to make a 2channel post notification application with Python
I tried to make a todo application using bottle with python
[4th] I tried to make a certain authenticator-like tool with python
[1st] I tried to make a certain authenticator-like tool with python
I tried to make a strange quote for Jojo with LSTM
I tried to make a mechanism of exclusive control with Go
I tried to unlock the entrance 2 lock sesame with a single push of the AWS IoT button
I tried to easily create a high-precision 3D image with one photo [2]. (Try processing depth with numpy)
I tried to implement Autoencoder with TensorFlow
I tried to visualize AutoEncoder with TensorFlow
I tried to get started with Hy
I tried a functional language with Python
I tried to implement CVAE with PyTorch
I tried to make a Web API
I tried to solve TSP with QAOA
I tried to introduce a serverless chatbot linked with Rakuten API to Teams
Python: I tried to make a flat / flat_map just right with a generator
I tried to implement a blockchain that actually works with about 170 lines
I tried to make "Sakurai-san" a LINE BOT with API Gateway + Lambda
I tried to draw a system configuration diagram with Diagrams on Docker
I tried to make a traffic light-like with Raspberry Pi 4 (Python edition)
I tried to create CSV upload, data processing, download function with Django