cancel
Showing results for 
Search instead for 
Did you mean: 

Java error on running the monitor on Linux

EHowa.19
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
stephane.legargeant
ST Employee

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

View solution in original post

2 REPLIES 2
stephane.legargeant
ST Employee

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.19
Associate

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