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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 0 0 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.

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
20.2k 53 14 20

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.