Downloading and Installing Java for Eze EMS xAPI

Prerequisites

Java

Eze EMS xAPI sample application can run on Java version 1.8 or above. To download and install the latest Java version, refer https://www.java.com/en/download.

Protoc Compiler

Protoc compiler is needed to compile the proto files and generate .java (protobuf) files (e.g., MarketData.java). To download and install the latest protoc compiler refer https://github.com/protocolbuffers/protobuf/releases/tag/v21.1. For more details, refer Generating .java Files.

For step-by-step procedure to download and install protobuf files, refer https://www.geeksforgeeks.org/how-to-install-protocol-buffers-on-windows/.

Proto-gen-grpc-java

Proto-gen-grpc-java is needed to compile the proto files and generate the stub files for Java language (e.g., MarketDataServiceGrpc.java). To download and install the latest protoc-gen-grpc-java version refer https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/. For more details, refer Generating Service Stub Files.

Note: Make sure the protoc-gen-grpc-java.exe file is stored in the protoc folder you created while downloading and installing the Protoc compiler above (e.g., C:\EzeEMSxAPI\protoc-21.1-win64\bin\).

Eclipse IDE

To download and install the latest Eclipse IDE for Java Developers version refer https://www.eclipse.org/downloads/. You can also refer the step-by-step procedure to download and install Eclipse IDE https://www.eclipse.org/downloads/packages/installer.