2025-05-06 5:33 AM
Hi,
I'm using a fresh debian testing (12) and when i try to launch "SetupSTM32CubeMonitor-Power.jar", i get the error :
Command line arguments:
SEVERE: java.lang.ArrayIndexOutOfBoundsException: Index 70131 out of bounds for length 22674
Debian is not in the supported operating system, but ubuntu should not be so far. I found on the forum, that the error occured on stm32cubemonitor on ubuntu recent version.
Is there a patch/upgraded planned or anyway to make it run ?
Could someone on ubuntu tell me if it work on it ?
Thanks in advance,
Solved! Go to Solution.
2025-05-07 8:35 AM
should work on v17 (the one I tried on my Ubuntu) and as far as I understand, only V21 fails
2025-05-07 6:44 AM
Hello @Frog
This issue can be linked to the java version used in your Debian machine. The installer tool used by STM32CubeMonitor-Power is not compatible with version 21 of java.
You can try to use an older one.
on ubuntu, use:
update-java-alternatives --list
to get the list of installed version and see if one can feet.
2025-05-07 8:12 AM
Hi Richard,
Is it possible to know on which version of java it should work ? I can't find that information. Or maybe, it is only for v21. I tried with other java version from debian repository with no success.
Thanks,
2025-05-07 8:35 AM
should work on v17 (the one I tried on my Ubuntu) and as far as I understand, only V21 fails
2025-05-07 10:32 AM - edited 2025-05-07 10:33 AM
It works on v17, thanks.
I would suggest to add the version of java inside documentation.
2025-05-07 11:07 AM
In fact, there is some scalling problem. For the setup, the argument :
-Dsun.java2d.uiScale=2.0
work, but looks like for the application it doesn't work.
Also tried
-Dglass.gtk.uiScale=2.0
With no effect.