I'm trying to run JOSM on arch linux. I tried both the josm(-svn) from the AUR, the jnlp and the jar version from https://josm.openstreetmap.de/.

If I run the program, the loading screen works: alt text

Unfortunately, after that one is finished, I receive an empty (white) screen:

alt text

If I enable debug logs (java -jar josm-tested.jar --debug), I don't see any errors, here's the log: https://textbin.net/raw/qcklqkrlkm

Does anyone have an idea how to get JOSM to run?

asked 13 Sep, 07:50

H_Philipp's gravatar image

H_Philipp
162
accept rate: 0%

edited 13 Sep, 07:53

Which Java/JRE version are you using?

(13 Sep, 08:08) scai ♦

I'm on 'openjdk 17.0.4.1 2022-08-12'

(13 Sep, 08:10) H_Philipp

Strange. I'm using openjdk 17.0.4 on Debian without such problems.

(14 Sep, 07:28) scai ♦

Could it be that you are using Wayland? As far as I know some people have problems running JOSM with Wayland, others don't. I don't know any details since I haven't switched to Wayland yet.

(14 Sep, 11:11) scai ♦

If you are using Wayland then try to set _JAVA_AWT_WM_NONREPARENTING=1 before running JOSM. See https://discourse.ubuntu.com/t/environment-variables-for-wayland-hackers/12750.

(14 Sep, 12:08) scai ♦

Try setting sun.java2d.opengl=False in your java configuration. If you're using an nVidia GPU, this is almost certainly the fix.

permanent link

answered 14 Sep, 12:59

Baloo%20Uriza's gravatar image

Baloo Uriza
3.1k143060
accept rate: 10%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×88

question asked: 13 Sep, 07:50

question was seen: 141 times

last updated: 14 Sep, 12:59

powered by OSQA