Skip to main content
Visitor II
August 15, 2019
Solved

Java error on running the monitor on Linux

  • August 15, 2019
  • 2 replies
  • 1055 views

Hello everyone,

I spent the whole day trying to run the software STM32 Cube monitor (version 1.0.3) on my computer.

I have tested with a Linux Mint and a Debian distribution and with the version 11 and 12 of the Oracle Java JDK but the problem is the same.

When I run the software I get the message

Error: Could not find or load main class com.st.mtt.guipower.MainApp

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

I use the same command of the shortcut to run it

java -jar STM32CubeMonitor-Power.jar

Does anyone know what's the problem? Or if it's possible to download a previous version of the Monitor to test?

Thank you very much for your help.

    This topic has been closed for replies.
    Best answer by stephane.legargeant

    Hello

    The tool is working with java 8, the versions 11 and 12 seems not be compatible.

    I can see in the user manual : The Java™ SE Run Time Environment 1.8 (version 1.8.121 or newer) from Oracle® must be installed

    You should try with a java 1.8 version.

    Best regards

    Stephane

    2 replies

    ST Employee
    August 19, 2019

    Hello

    The tool is working with java 8, the versions 11 and 12 seems not be compatible.

    I can see in the user manual : The Java™ SE Run Time Environment 1.8 (version 1.8.121 or newer) from Oracle® must be installed

    You should try with a java 1.8 version.

    Best regards

    Stephane

    EHowa.19Author
    Visitor II
    August 20, 2019

    Hi Stephane,

    I did as you suggested and it worked with the version 8.

    The versions 11 and 12 should also apply to the requirements of the user manual as they are newer, but...

    Thank you very much.

    Best regards,

    Elisio