This article will show you how to install, configure and run JEC on a Windows environment.
We have various JEC packages available for download from the JSM integration scripts repository - Releases. Note: each package are designed for a particular 3rd party application and comes with some pre-loaded configuration.
For this article, we are using a Windows 11 (64bit) machine with a generic JEC package (jec-1.0.2_jec-1.0.5)
If you are on a 32bit or 64bit architecture you will need to either use the package with “-win-386” or “-win-amd64” in the name respectively.
Download the jsm-jec-1.0.2-win-amd64.zip (since we are using 64bit)
In your C drive, create a folder name jsm and within it create a subfolder jsm-jec. (Note: the location and name can be per your requirement. We have left is as default so we do not have to make changes to the JEC config file)
Extract the content of the jsm-jec-1.0.2-win-amd64.zip into the jsm-jec folder

cd c:\jsm\jsm-jec
jecService64.exe install
Setting environment variable: We have two options to read the configuration file, either local or using git. In this article we will be setting up JEC to use local drive.
Go to “C:\jsm\jsm-jec\conf” folder and edit the jecService64.json file
Under “Env” make sure the "JEC_CONF_LOCAL_FILEPATH" is pointing to the conf folder (part of the package downloaded) and "JEC_CONF_SOURCE_TYPE" is set to “local”
“Stderr” and “Stdout” is pointing to the correct path. Note: if the output folder does not exists in the path, you will need to create one.
In Windows SIGINT and SIGTERM signals are used to stop JEC. You can’t stop/restart JEC via native methods of Windows while using JEC as a service. A helper executable is provided to run JEC as a service.
Use the following commands to start, stop and restart JEC (version amd64)
To Start: jecService64.exe start
If you are facing issues starting the service, you can check the log file jecOut.log to check for any error message. The path of this log folder is defined in jecService64.json under “Stdout”
Sean Suwal
0 comments