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

I've just downloaded mkgmap-r1625 and unzipped it. Before that I donwloaded an .osm file already. I entered the command prompt window, changed directories to the mkgmap folder and then typed in:

java -Xmx512M -jar mkgmap.jar --gmapsupp Suva-Nausori.osm

I wanted to create a gmapsupp file for direct upload to my garmin gps. Unfortunately this message came up in the command prompt window:

" 'java' is not recognized as an internal or external command, operable program or batch file."

I tried several variations of the command including the simple one recommended in the readme file but always the same message. I have confirmed that I have the latest java installed in my computer. Can somebody advise what is wrong? Thanks

asked 27 Jan '11, 08:09

nater's gravatar image

nater
1111
accept rate: 0%

closed 27 Jan '11, 09:25

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

The question has been closed for the following reason "Question is off-topic or not relevant" by Frederik Ramm 27 Jan '11, 09:25


This is not an OpenStreetMap or mkgmap problem. You seem to have a problem with your Java installation, more specifically, the setting of the PATH environment variable. Typing the error message you have given into Google yields about 14,000 results, the first of which seems to explain the issue well.

permanent link

answered 27 Jan '11, 09:24

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Closure message is possibly a little harsh - although the message is easily googlable, being able to run java from the command prompt is an essential part of getting mkgmap to work, and the OSM wiki page for mkgmap doesn't mention the step.

(27 Jan '11, 13:32) SomeoneElse ♦

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:

×30

question asked: 27 Jan '11, 08:09

question was seen: 4,547 times

last updated: 27 Jan '11, 13:32

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