Getting an exception when running through executable jar. working fine when running on IDE.
Thanks in advance!
For a deeper look into our Elektron API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Getting an exception when running through executable jar. working fine when running on IDE.
Thanks in advance!
Hi @bmahajan,
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
Hello @bmahajan
It seemed that you did not include EMA Jar file so you got java.lang.NoClassDefFoundError: com/thomsonreuters/ema/access/OmmException. You can set up build environment as outlined in the ESDK Build System. Then, you can start EMA Quick Start to consume data.
Hi @bmahajan, You didn't specify which API you are using with Elektron. Is it EMA or Java RFA. For EMA, please see the tutorial on how to setup the build environment here. This will include all the JAR files in the classpath.
For RFA, see this quick start on how to use the bat/sh files for compiling and running the examples that ship with the SDK.