NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

When I launch JOSM in Windows I get a warning about serious bugs in Java 10 advising me to upgrade to Java 11. But I actually already have Java 11 installed, as well as 9 and 8. when I click the button to upgrade Java to v11, I'm taken to a webpage to install Java 8; which obviously seems counter-intuitive since that's a significantly older version than 11. It's especially odd since I've already have Java 8 installed. I guess that is sort of a separate side issue that someone (a developer I'd imagine?) should probably look into.

What I'm trying to resolve is: 1. How do I get JOSM to recognize and use Java 11 which is already installed OR... Perhaps I haven't installed Java 11 properly, or I didn't install the correct package. It's a lot to sort out, but I understand that there are major changes with Java 11. There is no JRE for one thing. So I installed the open JDK. 2. Where, and how, and which package(s) of Java 11 must I install for JOSM? And is there any post installation procedure needed to get JOSM to use Java 11?

If this has been answered or explained elsewhere, I apologize! I was unable to anything helpful pertaining to my problem. Perhaps placing a link here would help others users seeking similar information to find it more easily.

Thank you so much! Any insight, direction and/or assistance will be sincerely appreciated!

asked 15 Dec '18, 19:23

JonP_75's gravatar image

JonP_75
50336
accept rate: 0%

edited 15 Dec '18, 20:33

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


To run JOSM with java 11 I would suggest to find out the path to your Java 11 java.exe and run it in a command line window. For example(!)

 C:\Program Files\Java\11\jre\bin\java.exe -jar C:\Program Files\JOSM\josm-tested.jar

(At least when executing this way) you need to change your thinking: Not JOSM uses Java, but a Java virtual machine runs JOSM.

Unless you need to run other Java programs with specific versions of Java there is no reason to have several versions of Java installed. Uninstall the older ones!

Regarding Java 11 on windows I suggest to read this comment by Don Vip: https://josm.openstreetmap.de/ticket/17048#comment:7. Unless you need highDPI support in Windows it seems that currently the simplest way is to stick with the latest Java 8 supplied by Oracle.

(I did not try anything of the previous since I use Linux - with a openjdk 11 JRE)

permanent link

answered 16 Dec '18, 00:28

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 16 Dec '18, 01:29

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:

×622
×2
×2

question asked: 15 Dec '18, 19:23

question was seen: 2,137 times

last updated: 16 Dec '18, 01:29

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum