Why not ask your question on the new OpenStreetMap Community Forum?

When I run brew cask install josm or download the latest JOSM ZIP, I get JRELoadError.

Homebrew suggests installing OpenJDK with brew cask install adoptopenjdk but it does not fix anything.

Can Homebrew properly install JOSM and Java?

openjdk version "14" 2020-03-17 OpenJDK Runtime Environment (build 14+36-1461) OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

asked 27 Mar '20, 18:47

homocomputeris's gravatar image

accept rate: 0%

edited 28 Mar '20, 11:42

Solved by installing Java 8u241 from java.com instead of Homebrew.

permanent link

answered 28 Mar '20, 12:55

homocomputeris's gravatar image

accept rate: 0%

I installed JOSM with brew, nonetheless the same error was only fixed by installing Java from java.com

(11 Oct '20, 19:09) habi

Wow! I hadn't thought about trying to install JOSM via brew.

Seems unlikely to me that the Homebrew maintainers would be on as active and frequent update cycle as getting the jar from the people maintaining JOSM so you'd likely always be running an older version.

I just have a Java VM environment and download the latest josm-tested.jar file from https://josm.openstreetmap.de every time JOSM nags me that is it old (about once a month). Only issue is that each time I download a new version I have to tell the MacOS that it is safe to run it. I am still on Mohave as there are some programs I have that won't run on newer MacOS versions so I am not sure if what I am doing will work for you.

permanent link

answered 28 Mar '20, 01:17

n76's gravatar image

accept rate: 17%


I always download the jar file and run it from the terminal window. I do get asked to keep the file before download, but I do not get additional questions when I run the program.

(28 Mar '20, 06:37) escada

It turns out that it's not a Homebrew issue.

(28 Mar '20, 11:31) homocomputeris
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 27 Mar '20, 18:47

question was seen: 3,332 times

last updated: 11 Oct '20, 19:09

powered by OSQA