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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Speed Guide (Error: Could not find or load main class com.thomsonreuters.ema.example.gui.SpeedGuide.SpeedGuide)

I have downloaded the Speed Guide but when I attempt to run the application on my mac I get the following error.

$ java -jar SpeedGuide.jar
Error: Could not find or load main class com.thomsonreuters.ema.example.gui.SpeedGuide.SpeedGuide
$
elektronrefinitiv-realtimeelektron-sdkspeedguide
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.5k 10 5 7

Hello @john.ervine

SpeedGuide.jar is for Windows and Linux. This is mentioned in README.txt :

Please try to run on Windows or Linux.

I could run SpeedGuide.jar on Windows successfully as shown below:

Moreover, EMA Java used by SpeedGuide does not support Mac. Please refer to the API Compatibility Matrix which shows the environments that EMA Java supports.


readme.png (7.0 KiB)
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
1 0 0 0

I get the same error on Windows 10 (Version 1909 (OS Build 18363.1621)):

Z:\speedguide>java -jar SpeedGuide.jar

Error: Could not find or load main class com.refinitiv.ema.example.gui.SpeedGuide.SpeedGuide

Caused by: java.lang.NoClassDefFoundError: javafx/application/Application


Z:\speedguide>java --version

java 16.0.1 2021-04-20

Java(TM) SE Runtime Environment (build 16.0.1+9-24)

Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)


Z:\speedguide>dir

10/23/2019 11:20 PM 5,041 keystore.jks

01/22/2021 06:07 PM 5,023 README.txt

06/22/2021 06:11 PM 92 speedguide.bat

04/19/2021 08:54 PM 349,184 SpeedGuide.exe

04/19/2021 10:00 PM 20,300,720 SpeedGuide.jar


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.