I kept getting the following terminal warning repeated:
java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock System prefs. Unix error code 2.
I "fixed" it by making a directory /etc/.java/.systemPrefs
and doing chmod 777
on it, and now when I launch the IDE, I no longer see the warning, and I see two files are created in that folder called .systemRootModFile
and .system.lock
. Probably instead of grating full 777 access I should have made a group or something...but just pointing out to the package owner that maybe the package should properly handle this /etc/.java/.systemPrefs
folder somehow...
Pinned Comments
kumen commented on 2023-03-19 13:14 (UTC) (edited on 2023-03-19 13:17 (UTC) by kumen)
STM32CubeIDE is now run by executing
stm32cubeide_wayland
official script. If you have issues related to run environment, try to edit/usr/share/applications/stm32cubeide.desktop
file and uncomment one of commented outExec=...
lines and comment out currently used one. After making changes tostm32cubeide.desktop
runupdate-desktop-database
as root to apply changes.Discussion about this Eclipse issues is here: https://github.com/eclipse-platform/eclipse.platform.swt/issues/158