Package Details: stm32cubemx-jre 6.17.0-4

Git Clone URL: https://aur.archlinux.org/stm32cubemx.git (read-only, click to copy)
Package Base: stm32cubemx
Description: ST packaged custom Java Runtime for STM32CubeMX
Upstream URL: https://www.st.com/en/development-tools/stm32cubemx.html
Keywords: arm cortex cortex-m stm32
Licenses: custom
Submitter: laserk3000
Maintainer: laserk3000 (CloverGit)
Last Packager: CloverGit
Votes: 61
Popularity: 1.10
First Submitted: 2016-06-04 10:14 (UTC)
Last Updated: 2026-05-11 16:41 (UTC)

Pinned Comments

CloverGit commented on 2026-03-07 16:36 (UTC)

If fonts lack anti-aliasing, enforce it like so:

_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' stm32cubemx

Latest Comments

1 2 3 4 5 6 .. 11 Next › Last »

aurabert commented on 2026-05-11 15:30 (UTC)

I had to install stm32cubemx-jre - otherwise the configuration page for the X-CUBE-FREERTOS middleware silently fails to load. I think this is due to it not supporting newer Java versions:

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'

CloverGit commented on 2026-05-03 17:51 (UTC)

@medaminezghal I mean the stm32cubemx-jre package only contains the JRE runtime files, which is exactly what the description reflects. The pkgdesc is meant to describe the files contained within that specific package, not the outcome of installing its dependencies, this completely aligns with AUR conventions: if you check clion-jre or webstorm-jre, their descriptions also only describe the JRE itself, rather than "CLion with bundled JRE".

medaminezghal commented on 2026-05-03 16:17 (UTC)

@CloverGit I know that stm32cubemx-jre provide only the java runtime but adding the stm32cubemx as dependency for it make it provide full STM32CubeMX with its Java runtime.

Note that packages that have their bundled Java runtime don’t add their packages as dependency for it: check out WebStorm and CLion in AUR.

CloverGit commented on 2026-05-03 14:51 (UTC)

stm32cubemx-jre only provides the JRE runtime.

medaminezghal commented on 2026-05-03 14:46 (UTC)

@CloverGit So the description of stm32cubemx-jre should be changed to something like this: “STM32CubeMX with bundled java runtime” because the package will provide both STM32CubeMX with its java runtime.

CloverGit commented on 2026-05-03 13:35 (UTC) (edited on 2026-05-03 13:36 (UTC) by CloverGit)

no changes are needed here, the specified version of stm32cubemx ("${pkgbase}=${pkgver}-${pkgrel}") is a hard dependency for stm32cubemx-jre.

medaminezghal commented on 2026-05-03 13:22 (UTC)

@CloverGit true. The only thing needed to be edited is that stm32cubemx is a dependency of stm32cubemx-jre.

CloverGit commented on 2026-05-03 06:27 (UTC)

The bundled JRE is isolated in /opt/stm32cubemx/jre. It is neither exposed to the system $PATH nor managed by archlinux-java. If it claims to provide a global java-runtime, pacman might install it to satisfy the dependencies of completely unrelated Java applications on the system.

Keeping it in optdepends with a fallback mechanism in the stm32cubemx.sh launcher is a safer compromise. This approach prevents polluting the system's dependency tree while giving users the explicit choice between using the bundled ST environment or a system-wide Java environment.

medaminezghal commented on 2026-05-02 21:25 (UTC)

@CloverGit I think it's not a good idea to make stm32cubemx as dependency for stm32cubemx-jre but it better to make java-runtime>=21 a hard dependency for stm32cubemx and add provides section in the stm32cubemx-jre which contains: java-environment=21, java-environment-temurin=21, java-runtime=21, java-runtime-headless=21, java-runtime-headless-temurin=21, java-runtime-temurin=21, jdk21-temurin=21.0.9.u10, jre21-temurin=21.0.9.u10, jre21-temurin-headless=21.0.9.u10

CloverGit commented on 2026-05-02 17:16 (UTC)

stm32cubemx-jre is now an optional dependency for stm32cubemx to provide more flexibility.