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, 18:47

homocomputeris's gravatar image

homocomputeris
26112
accept rate: 0%

edited 28 Mar, 11:42


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, 01:17

stf's gravatar image

stf
8.6k971138
accept rate: 18%

1

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, 06:37) escada

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

(28 Mar, 11:31) homocomputeris

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

permanent link

answered 28 Mar, 12:55

homocomputeris's gravatar image

homocomputeris
26112
accept rate: 0%

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:

×544
×66
×55
×11
×1

question asked: 27 Mar, 18:47

question was seen: 466 times

last updated: 28 Mar, 12:55

powered by OSQA