I am unable to launch josm for some time now. When replacing with the snap package, it works.
There is an important version difference between the snap (18822) and official (18721) version. Apparently, there is a problem with java (already seen in other older topics with josm) but I cannot install the adequate java21 missing module.
josm
Using /usr/bin/java to execute josm.
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.web not found
I did install base-devel package required for AUR but it is not the first time I install AUR packages that usually work. This did not solve the java-openjfx installation problem.
I did find a stable josm package in AUR (V18822) and this works fine now, without java-openjfx.
I do not fully understand how this has been finally solved but the result is important for me and I always learn a lot when solving problems anyway!
Thank you,
I had read the post last night but the solution didn’t work for me and I wasn’t sure I could use the same thread again either.
Apparently our two discussions took place at the same time last night!
Update for the link to the Arch issue (the bug tracker was moved):
A possible workaround to still use the package from extra (and not from AUR) is to install the dependency from AUR (e.g. with yay) and set the correct java version.
yay -Sa java21-openjfx-bin
sudo pacman -Syu --needed jdk21-openjdk
sudo archlinux-java set java-21-openjdk
The switch to java version 21 is necessary because the AUR for openjfx for java 22 seems to be broken at the moment. This only could lead to problem if some application on your system needs java 22.
I haven’t investigated or tried things out, but might QGIS be used instead…? There is apparently a plugin for QGIS that allows you to edit OSM data. https://gisgeography.com/qgis-openstreetmap/