Speed Guide (Error: Could not find or load main class com.thomsonreuters.ema.example.gui.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
$

Best Answer

  • Hello @john.ervine

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

    image

    Please try to run on Windows or Linux.

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

    image

    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.

Answers

  • 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