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

Ive tried following the instructions given at: http://josm.openstreetmap.de/wiki/Download But when I get to the point where it instructs you to install the "josm-latest" file I get an error message returned as follows: (note it says I typed in josm-tested but i simply copied my last attempt. Ive downloaded the .jar file with "josm tested" file)

michael@michael-Satellite-L350D:~$ sudo apt-get install josm-latest                       Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package josm-latest

Im not sure why its unable to locate the package... any help would be appreciated... Michael

asked 13 Aug '12, 04:17

Azzitizz's gravatar image

Azzitizz
445101218
accept rate: 0%

2

Did you add the josm repository to your sources.list and run apt-get update afterwards?

(13 Aug '12, 05:42) scai ♦

Apt-get usually is the preferred method, but this is really simple if you can configure things for yourself. This is especially true because the distribution version of josm may well be out of date. Here is what I did --

1:download josm-tested.jar from the link on http://wiki.openstreetmap.org/wiki/JOSM
2: make a directory called "lib" under your HOME directory, and put josm-tested.jar there
3: find the "bin" directory under your HOME directory and create a script file josm.sh containing

#!/bin/bash
java -jar ~/lib/josm-tested.jar

4: in the properties, set the toggle "Allow executing file as program"

Then typing josm.sh from a terminal window or double clicking on the josm.sh file icon will launch josm

permanent link

answered 13 Aug '12, 20:44

johntrudy's gravatar image

johntrudy
110338
accept rate: 0%

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
×199
×44

question asked: 13 Aug '12, 04:17

question was seen: 4,393 times

last updated: 13 Aug '12, 20:44

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