Official | HULFT IoT EdgeStreaming Plugin SDK Getting Started Third Edition: July 1, 2021

Setting the environment variables

This section explains environment variable settings.

 

  1. Check that the following environment variables are set.

     

    • JAVA_HOME (directory where JDK is installed)

    • ANT_HOME (directory where ANT is installed)

    • GOROOT (directory where GO is installed)

    • UPX_PATH (directory where UPX is installed)

     

  2. After setting the above environment variables, set paths to the following directories.

    Add to the PATH environment variable.

     

    • %JAVA_HOME%\bin

    • %ANT_HOME%\bin

    • %GOROOT%\bin ($ GOROOT /bin for UNIX)

    • %UPX_PATH%

     

  3. Confirm that the above preparations were performed correctly.

    Check that you can run the following commands from the command prompt.

     

    • java –version

    • ant –version

    • go version

    • upx -V

     

If the appropriate version is displayed when you run each command, the setting of the development environment for the adapter is completed.

If the versions are not displayed, the environment variables may be set incorrectly.

Check that the environment variables JAVA_HOME, ANT_HOME, GOROOT, UPX_PATH, and PATH are set correctly and modify them until the appropriate version is displayed.

 

 

 

Official | HULFT IoT EdgeStreaming Plugin SDK Getting Started Third Edition: July 1, 2021