Modify

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#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 taylor.smock, 15 months ago

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).

comment:2 by taylor.smock, 15 months ago

Resolution: othersoftware
Status: newclosed

comment:3 by GHOSTsama, 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.