This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

I downloaded josm-tested.jar, now what?

3

JOSM told me to update it, so I downloaded josm-tested.jar. Double-clicking josm-tested.jar from the download location starts JOSM (yay for Java). However, the JOSM shortcut that I initially got from the Windows installation package points to something called JOSM.exe, which, if I run it, is still the old version. Do I just replace JOSM.exe with josm-tested.jar in the shortcut properties, or do I need to somehow work the downloaded jar into the initial installation?

asked 21 Apr '11, 23:12

ponzu's gravatar image

ponzu
2.1k496483
accept rate: 0%

edited 21 Apr '11, 23:13


2 Answers:

5

IIRC somewhere in your install directory (c:\program files\josm\ or so) is a josm.jar, just replace this with the new josm-tested.jar. The "not so technical way" would be to simply let the windows installer do the work for you.

answered 22 Apr '11, 11:47

Flow's gravatar image

Flow
64641116
accept rate: 25%

edited 22 Apr '11, 15:54

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198

1

It's actually josm-tested.jar in C:Program Files\JOSM. Can't believe I missed it first time around. Thanks! I copied the downloaded file over it and will continue using the shortcut to JOSM.exe Presumably, it supplies the necessary parameters (as far as memory allocation, etc.)

(22 Apr '11, 18:25) ponzu

2

Generally spoken, JOSM is a java application (hence cross platform), and not a windows binary, so the .jar should contain everything you need. You can make the JOSM-shortcut point to java with the location of the jar-file as parameter (and usually associating more memory to JOSM then java default).

A typical call would be:

java -Xmx1024 -jar c:\dirtojosm\josm-tested.jar

(you must have an entry to java in your system-PATH to be able to call it like this).

answered 22 Apr '11, 10:24

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Source code available on GitHub .