#24435 closed defect (worksforme)
Some plugins are not installing
| Reported by: | nl342 | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open Preferences
- Open Plugins
- Select desired plugin
- Press Download list or Update plug-ins
- Restart JOSM
- Open installed plugins in preferences.
What is the expected result?
Plugins should appear in the list of installed plugins
What happens instead?
Plugins do not appear in the list of installed plugins
Please provide any additional information below. Attach a screenshot if possible.
Wikipedia, ImportImageplugin, Piclayer and Elevation plugins have failed to install.
Utilsplugin2 was installed successfully.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2025-07-11 10:12:51 +0200 (Fri, 11 Jul 2025) Revision:19423 Build-Date:2025-07-12 01:30:35 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19423 en_GB) Windows 10 64-Bit OS Build number: Windows 10 Home 22H2 (19045) Memory Usage: 263 MB / 2000 MB (54 MB allocated, but free) Java version: 21.0.8+9-LTS, Eclipse Adoptium, OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1366x768x32bpp@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1366×768 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [--add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, -Djosm.home=<josm.pref>, -Dplugins.dir=<josm.pref>\plugins] Plugins: + Mapillary (1813) + apache-commons (36438) + buildings_tools (36438) + ejml (36438) + geotools (36438) + jackson (36438) + jaxb (36438) + jts (36438) + measurement (36438) + reverter (36447) + terracer (36438) + utilsplugin2 (36438) Last errors/warnings: - 00000.488 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.490 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.491 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
Attachments (0)
Change History (5)
comment:1 by , 3 months ago
comment:2 by , 3 months ago
I think with the described steps you don't install any plugin, you just download the actual list and the *.jar files, but you don't JOSM to actually load the plugin.
comment:3 by , 3 months ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:4 by , 3 months ago
I wanted to install a new plugin.
The above steps did not work.
Now it worked by manually writing the plugin in the preferences xml file.
comment:5 by , 3 months ago
Well, it seems the meaning of the buttons in this dialog are not self explaining. This happened to other users as well:
They wanted to install a plugin (which requires the OK button), but instead they clicked on Update . The latter downloads the plugin binary but doesn't add the entry to the preferences.xml. If you close the dialog with Esc or by pressing Cancel the plugin is not used.
I am not sure why this happens, maybe translations in other languages are missleading?
Reg. the steps above I wonder if you restarted JOSM without closing the dialog, maybe by just killing the thread?



Issue is solved by GROK.
I had an issue with %APPDATA%\JOSM\plugins\ being read-only.
The issue however was solved only after the plugins were forcefully installed by running this script in the command prompt. Plugins work fine now.
java --add-exports=java.base/sun.security.action=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports=javafx.graphics/com.sun.javafx.stage=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED -jar "C:\Program Files (x86)\JOSM\josm-tested.jar" --debug > "%USERPROFILE%\Desktop\josm_debug.log" 2>&1