For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 0 1 5

Exception in thread "main" java.lang.NoClassDefFoundError: com/thomsonreuters/ema/access/OmmException

Getting an exception when running through executable jar. working fine when running on IDE.

Thanks in advance!




elektronrefinitiv-realtimeelektron-sdkOMM
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

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


Upvotes
Accepted
9.6k 10 7 7

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
22.1k 59 14 21

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.