Modify

Opened 4 years ago

Closed 4 years ago

#21394 closed defect (othersoftware)

running under fedora 34

Reported by: sulmicki@… Owned by: sulmicki@…
Priority: blocker Milestone:
Component: Core Webstart Version:
Keywords: linux fedora javafx Cc:

Description (last modified by Don-vip)

Hello,

how do I run JOSM under Linux Fedora 34 ? It would run without any problems under Fedora 24. Then I upgraded to Fedora 34 and it does not run anymore. Any ideas ? I get following errors :

$ javaws https://josm.openstreetmap.de/download/josm.jnlp
selected jre: /usr/lib/jvm/jre-11-openjdk
WARNING: package javax.jnlp not in java.desktop
[ITW-CORE][2021-10-03 17:46:55.753 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OpenWebStartLauncher called with args: [https://josm.openstreetmap.de/download/josm.jnlp].
[ITW-CORE][2021-10-03 17:46:55.753 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OS: Linux
[ITW-CORE][2021-10-03 17:46:55.753 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] Java Runtime Red Hat, Inc.-11.0.12
[ITW-CORE][2021-10-03 17:47:24.674 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2021-10-03 17:47:25.297 CEST][ERROR][net.sourceforge.jnlp.config.DeploymentConfiguration]
Failed to parse property file /home/adam/.config/icedtea-web/deployment.properties
java.io.FileNotFoundException: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
	at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
	at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
	at net.adoptopenjdk.icedteaweb.http.CloseableConnection.getInputStream(CloseableConnection.java:58)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:579)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:393)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.loadSystemProperties(DeploymentConfiguration.java:232)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:190)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:169)
	at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.<clinit>(JNLPRuntime.java:453)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:481)
	at net.adoptopenjdk.icedteaweb.client.console.JavaConsole.canShowOnStartup(JavaConsole.java:205)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:230)
	at net.sourceforge.jnlp.runtime.Boot.runMain(Boot.java:258)
	at net.sourceforge.jnlp.runtime.Boot.mainWithReturnCode(Boot.java:132)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:114)

[ITW-CORE][2021-10-03 17:47:25.298 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] checkUrl failed for file:/home/adam/.config/icedtea-web/deployment.properties reason: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 17:47:25.300 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] No USER level deployment.properties found at file:/home/adam/.config/icedtea-web/deployment.properties.
[ITW-CORE][2021-10-03 17:47:25.300 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] No USER level deployment.properties found at file:/home/adam/.config/icedtea-web/deployment.properties.
[ITW-CORE][2021-10-03 17:47:25.300 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Exception while loading comment form config file: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 17:47:25.300 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Exception while loading comment form config file: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 17:47:26.501 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesFinder] Using firefox's profiles file: /home/adam/.mozilla/firefox/profiles.ini
[ITW-CORE][2021-10-03 17:47:26.514 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesFinder] Found preferences file: 
[ITW-CORE][2021-10-03 17:47:26.517 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesParser] Read 259 entries from Firefox's preferences
[ITW-CORE][2021-10-03 17:47:26.518 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] Proceeding with jnlp
[ITW-CORE][2021-10-03 17:47:26.523 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] JNLP file location: https://josm.openstreetmap.de/download/josm.jnlp
[ITW-CORE][2021-10-03 17:47:26.742 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] isCached: https://josm.openstreetmap.de/download/josm.jnlp - (v: null) = true
[ITW-CORE][2021-10-03 17:47:27.636 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] isUpToDate: https://josm.openstreetmap.de/download/josm.jnlp - (v: null) = false
[ITW-CORE][2021-10-03 17:47:27.869 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] isUpToDate: https://josm.openstreetmap.de/download/josm.jnlp - (v: null) = false
[ITW-CORE][2021-10-03 17:47:27.970 CEST][INFO ][net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser] Using MalformedXMLParser
[ITW-CORE][2021-10-03 17:47:29.182 CEST][INFO ][net.sourceforge.jnlp.Parser] Homepage: https://josm.openstreetmap.de
[ITW-CORE][2021-10-03 17:47:29.183 CEST][INFO ][net.sourceforge.jnlp.Parser] Description: Java OpenStreetMap editor
[ITW-CORE][2021-10-03 17:47:29.187 CEST][INFO ][net.sourceforge.jnlp.JNLPFile] Acceptable vendor tag found, contains: OpenStreetMap
[ITW-CORE][2021-10-03 17:47:29.196 CEST][INFO ][net.sourceforge.jnlp.Parser] good - your JRE - 11.0.12 - match requested JRE - 1.8+
[ITW-CORE][2021-10-03 17:47:29.266 CEST][INFO ][net.sourceforge.jnlp.ItwJvmLauncher] About to launch external with commands: '[/usr/libexec/icedtea-web/javaws, -J--add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -J--add-exports=java.base/sun.security.action=ALL-UNNAMED, -J--add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, -J--add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, -J--add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, -J--add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, -J--add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, -J--add-opens=java.base/java.lang=ALL-UNNAMED, -J--add-opens=java.base/java.nio=ALL-UNNAMED, -J--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, -J--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, -J--add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, -J--add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, -J--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Xnofork, https://josm.openstreetmap.de/download/josm.jnlp]'
selected jre: /usr/lib/jvm/jre-11-openjdk
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.web not found
[ITW-CORE][2021-10-03 17:47:30.923 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] No other instances of javaws are running

$ cat /etc/fedora-release 
Fedora release 34 (Thirty Four)

Attachments (0)

Change History (8)

comment:1 by Don-vip, 4 years ago

Description: modified (diff)
Keywords: linux fedora added

comment:2 by Don-vip, 4 years ago

Owner: changed from team to sulmicki@…
Status: newneedinfo

Did you install openjfx package? There's a runtime dependency on it now.

comment:3 by anonymous, 4 years ago

Hello,

I installed per your suggestion openjfx package (it was not installed before) but it did not help me unfortunately.
Output seems to be the same as before, shown below. Do I need to add -verbose flag ?

As band-aid fix I installed Oracle's jre-8u301-linux-i586.rpm (jre1.8-1.8.0_301-fcs.x86_64) and it seems to work with JOSM.

--------------------------------------
$ /usr/libexec/icedtea-web/javaws https://josm.openstreetmap.de/download/josm.jnlp
selected jre: /usr/lib/jvm/jre-11-openjdk
WARNING: package javax.jnlp not in java.desktop
[ITW-CORE][2021-10-03 19:15:50.295 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OpenWebStartLauncher called with args: [https://josm.openstreetmap.de/download/josm.jnlp].
[ITW-CORE][2021-10-03 19:15:50.295 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] OS: Linux
[ITW-CORE][2021-10-03 19:15:50.295 CEST][INFO ][net.sourceforge.jnlp.runtime.EnvironmentPrinter] Java Runtime Red Hat, Inc.-11.0.12
[ITW-CORE][2021-10-03 19:15:51.599 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] Ico provider registered correctly.
[ITW-CORE][2021-10-03 19:15:51.652 CEST][ERROR][net.sourceforge.jnlp.config.DeploymentConfiguration]
Failed to parse property file /home/adam/.config/icedtea-web/deployment.properties
java.io.FileNotFoundException: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
	at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
	at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
	at net.adoptopenjdk.icedteaweb.http.CloseableConnection.getInputStream(CloseableConnection.java:58)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:579)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:393)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.loadSystemProperties(DeploymentConfiguration.java:232)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:190)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:169)
	at net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder.<clinit>(JNLPRuntime.java:453)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.getConfiguration(JNLPRuntime.java:481)
	at net.adoptopenjdk.icedteaweb.client.console.JavaConsole.canShowOnStartup(JavaConsole.java:205)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:230)
	at net.sourceforge.jnlp.runtime.Boot.runMain(Boot.java:258)
	at net.sourceforge.jnlp.runtime.Boot.mainWithReturnCode(Boot.java:132)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:114)

[ITW-CORE][2021-10-03 19:15:51.653 CEST][INFO ][net.sourceforge.jnlp.config.DeploymentConfiguration] checkUrl failed for file:/home/adam/.config/icedtea-web/deployment.properties reason: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 19:15:51.654 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] No USER level deployment.properties found at file:/home/adam/.config/icedtea-web/deployment.properties.
[ITW-CORE][2021-10-03 19:15:51.654 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] No USER level deployment.properties found at file:/home/adam/.config/icedtea-web/deployment.properties.
[ITW-CORE][2021-10-03 19:15:51.654 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Exception while loading comment form config file: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 19:15:51.654 CEST][WARN ][net.sourceforge.jnlp.config.DeploymentConfiguration] Exception while loading comment form config file: /home/adam/.config/icedtea-web/deployment.properties (Nie ma takiego pliku ani katalogu)
[ITW-CORE][2021-10-03 19:15:52.098 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesFinder] Using firefox's profiles file: /home/adam/.mozilla/firefox/profiles.ini
[ITW-CORE][2021-10-03 19:15:52.099 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesFinder] Found preferences file: 
[ITW-CORE][2021-10-03 19:15:52.103 CEST][INFO ][net.sourceforge.jnlp.proxy.browser.FirefoxPreferencesParser] Read 259 entries from Firefox's preferences
[ITW-CORE][2021-10-03 19:15:52.105 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] Proceeding with jnlp
[ITW-CORE][2021-10-03 19:15:52.106 CEST][INFO ][net.sourceforge.jnlp.runtime.Boot] JNLP file location: https://josm.openstreetmap.de/download/josm.jnlp
[ITW-CORE][2021-10-03 19:15:52.161 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] isCached: https://josm.openstreetmap.de/download/josm.jnlp - (v: null) = true
[ITW-CORE][2021-10-03 19:15:52.691 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] isUpToDate: https://josm.openstreetmap.de/download/josm.jnlp - (v: null) = true
[ITW-CORE][2021-10-03 19:15:52.735 CEST][INFO ][net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser] Using MalformedXMLParser
[ITW-CORE][2021-10-03 19:15:52.991 CEST][INFO ][net.sourceforge.jnlp.Parser] Homepage: https://josm.openstreetmap.de
[ITW-CORE][2021-10-03 19:15:52.992 CEST][INFO ][net.sourceforge.jnlp.Parser] Description: Java OpenStreetMap editor
[ITW-CORE][2021-10-03 19:15:52.994 CEST][INFO ][net.sourceforge.jnlp.JNLPFile] Acceptable vendor tag found, contains: OpenStreetMap
[ITW-CORE][2021-10-03 19:15:52.999 CEST][INFO ][net.sourceforge.jnlp.Parser] good - your JRE - 11.0.12 - match requested JRE - 1.8+
[ITW-CORE][2021-10-03 19:15:53.024 CEST][INFO ][net.sourceforge.jnlp.ItwJvmLauncher] About to launch external with commands: '[/usr/libexec/icedtea-web/javaws, -J--add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -J--add-exports=java.base/sun.security.action=ALL-UNNAMED, -J--add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, -J--add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, -J--add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, -J--add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, -J--add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, -J--add-opens=java.base/java.lang=ALL-UNNAMED, -J--add-opens=java.base/java.nio=ALL-UNNAMED, -J--add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, -J--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, -J--add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, -J--add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, -J--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Xnofork, https://josm.openstreetmap.de/download/josm.jnlp]'
selected jre: /usr/lib/jvm/jre-11-openjdk
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.web not found
[ITW-CORE][2021-10-03 19:15:54.307 CEST][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.LeastRecentlyUsedCache] No other instances of javaws are running

[adam@triskelion ~]$ rpm -q openjfx
openjfx-11.0.9.2-5.fc34.x86_64
Last edited 4 years ago by Don-vip (previous) (diff)

comment:4 by Don-vip, 4 years ago

There is still the error:

java.lang.module.FindException: Module javafx.web not found

Is there a file named javafx.web.jar on your system? It seems OpenWebStart can't find it, you will probably have to report a bug to https://github.com/karakun/OpenWebStart/issues

After that it should be probably easier for you to use the native josm package of your distribution rather than OpenWebStart, which is more focused on Windows and macOS.

comment:5 by Don-vip, 4 years ago

Component: CoreCore Webstart

comment:6 by Don-vip, 4 years ago

Keywords: javafx added

comment:7 by anonymous, 4 years ago

Hello Don.

There is javafx.web.jar on my system. (though oddly enough locate does not find it)

/usr/lib/jvm/openjfx/javafx.web.jar

So it seems that javaws does not find .it

As I understand Fedora uses icedtea-web rather than OpenWebStart.

I don't think there's josm package in my repository.

comment:8 by Don-vip, 4 years ago

Resolution: othersoftware
Status: needinfoclosed

OpenWebStart uses icedtea-web, it's just an additional layer providing JVM selection, advanced options and auto-update.

Please create a bug report to https://github.com/AdoptOpenJDK/IcedTea-Web

There used to be a fedora package for JOSM, I don't know what happened but it's gone. You can use snap instead:
https://snapcraft.io/josm

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain sulmicki@….
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.