Skip to main content
Associate
January 23, 2026
Solved

STM32CubeMonitor-Power 1.2.1 installation problem

  • January 23, 2026
  • 1 reply
  • 215 views
Hi
When I attempt to install the 1.2.1 version of STM32CubeMonitor-Power on Ubuntu Linux, I encounter a "java.lang.ArrayIndexOutOfBoundsException". I saw some posts about problems with files on the server, but they are quite old, and I have a problem with today's download.
Can someone help me with this problem?

Console:
-> % java -jar SetupSTM32CubeMonitor-Power.jar
Command line arguments: 
SEVERE: java.lang.ArrayIndexOutOfBoundsException: Index 70131 out of bounds for length 22674

sha256 checksums:
SetupSTM32CubeMonitor-Power.jar 6638b2c15ada4d359f796484856db1c54d120acfca4c59775a265a8665bf3b35
cubemonpwr-lin-v1-2-1.zip 01d4e9fcc6a3024f957b7c70f1ec3912557b41a189f075822a4ec5f059a60824

    Best answer by kalpesh-Dryad

    Install Java 17 (Old version) instead of the latest version Java 21, And it will work.

    I also had the same problem; Java 17 helps.

    1 reply

    kalpesh-DryadBest answer
    Associate
    January 28, 2026

    Install Java 17 (Old version) instead of the latest version Java 21, And it will work.

    I also had the same problem; Java 17 helps.

    MMotylAuthor
    Associate
    January 28, 2026

    Java 17 solves the problem.

    Additionally - my current version of Ubuntu uses openjdk 21 as default and I had to run openjdk 17 using this command:

    /usr/lib/jvm/java-17-openjdk-amd64/bin/java -jar ./SetupSTM32CubeMonitor-Power.jar