#23469 closed defect (othersoftware)
Startup script does not work in ArchLinux
Reported by: | GHOSTsama | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Ubuntu package | Version: | |
Keywords: | Cc: |
Description
Currently, the startup script /usr/bin/josm does not work in ArchLinux because JavaFX was removed from the official repositories.
If JavaFX is not installed when you launch JOSM, it throws this error:
Using /usr/bin/java to execute josm. Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.web not found
Aparently it is due to this line, it is assumed that JavaFX is installed, when it is not.
Running java -jar /path/to/josm.jar it works, if JavaFX is an optional dependency, this should be considered when loading the modules as it might not be installed.
Attachments (0)
Change History (3)
comment:1 by , 15 months ago
comment:2 by , 15 months ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
comment:3 by , 15 months ago
The script is provided by JOSM, I think the script should verify that the default value of JAVAFX_HOME (/usr/share/openjfx/lib) exists before loading the modules
Is this the JOSM start script provided by us, or by Arch Linux?
I know they've had to work around differences in the JavaFX package in the past; they should probably patch out the JavaFX modules if JavaFX is no longer available in the repos.
JOSM (by itself) does not require JavaFX; some plugins do require JavaFX (specifically Microsoft StreetSide and JavaFX).