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

Illegal Java option

0

I downloaded the .img files for Europe. It doesn't come with a tdb file. I tried to create this file using this command line: java -jar mkgmap.jar --tdbfile gmapsupp.img I get an error message: jar: illegal option

I'm using the most recent java in WindowsXP.

How do I fix this? Dave S.

asked 01 Jan '13, 00:35

davideschellenberg's gravatar image

davideschell...
11112
accept rate: 0%

edited 03 Jan '13, 19:33

stephan75's gravatar image

stephan75
12.6k556210

There are lots of different OSM-based map downloads for Garmin devices. None are any more "official" than any others. Which ones are you asking about?

Also, why are you trying to create a .tdb file?

(01 Jan '13, 20:23) SomeoneElse ♦
1

"java -jar" should work. Please add the output of "java -version" to your question. Maybe you have an old Java version?

(01 Jan '13, 20:29) sleske

Source code available on GitHub .