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

I have downloaded the latest build of OSM2World, but when I unpacked and executed the .bat file, nothing happened. A small command window popped up but it disappeared in under a millisecond. Any ideas? This is really urgent, thanks in advance.

asked 25 Nov '18, 21:57

Damien555's gravatar image

Damien555
11113
accept rate: 0%

2

If you run it from a command prompt, what error message is displayed there?

Edit: (to explain how to run a batch file from a command prompt):

1) Open a command prompt.

2) Drag the batch file from explorer onto the command prompt.

3) Press return.

4) Note that the error messages are displayed after running the batch file from the command prompt.

(25 Nov '18, 22:31) SomeoneElse ♦
1

Seconding @SomeoneElse's request for the command output, that would be helpful to diagnose the issue. :) One way around the "disappearing window" problem would be to open the command prompt from the start menu, navigate to the folder using console commands (cd), and run the OSM2World.bat (again from the console).

(25 Nov '18, 23:26) Tordanik

No error message. The window disappeared quicker than I couldve looked. Second option didnt work at all

(26 Nov '18, 08:20) Damien555
1

Please describe "didn't work at all". Where are you stuck?

(26 Nov '18, 09:41) scai ♦

I download the .zip, exstract it and now I am here: alt text

It does not matter which .bat I click on, the cmd window that is supposed to open up immdeiatly closes again without even allowing me to read whatever is supposed to be there.

(26 Nov '18, 10:22) Damien555
2

As mentioned in my previous comment, please try running these scripts from an existing console session instead of clicking them in the file browser. That will allow you to see the console output.

(26 Nov '18, 10:39) Tordanik

See my edited comment to your original question.

(26 Nov '18, 10:52) SomeoneElse ♦
3

"the command 'java' couldnt be found or has been misspelled" appears in my console.

(26 Nov '18, 10:56) Damien555
1

OK, you need to go back to osm2world and ask them what version of java they want/need.

https://stackoverflow.com/questions/52511778/how-to-install-openjdk-11-on-windows may also be helpful.

(26 Nov '18, 11:23) SomeoneElse ♦

what do you mean by that? I have absolutely no clue who i need to ask neither what that link is supposed to tell me

(26 Nov '18, 12:01) Damien555

By "go back to osm2world and ask them what version of java they want/need" I mean "go to the website from which you downloaded it and look for contact details, or a forum, or a github link, and ask the developers or other users how to solve your problem".

by "https://stackoverflow.com/questions/52511778/how-to-install-openjdk-11-on-windows may also be helpful" I mean "in order to install Java on a Windows PC in November 2018 I'd recommend installing openjdk, rather than any other option". I linked to a stackoverflow article that explains the process because installing openjdk isn't a clicky-pointy experience - you have to think a little bit about what you are doing, and may need to learn how the folders on your computer are organised.

(26 Nov '18, 12:11) SomeoneElse ♦

way too complicated and all i needed was some 3d maps lmao thanks anyways ill do it another way

(26 Nov '18, 13:36) Damien555
showing 5 of 12 show 7 more comments

As per the installation instructions, OSM2World requires Java. As you're receiving an error message such as

the command 'java' couldn't be found or has been misspelled

the most likely problem is that Java simply isn't installed on your computer yet. The OpenStreetMap wiki has a page with instructions on how to install Java.

I'm sorry that you are having trouble, by the way. The installation process isn't as easy as it could (and probably should) be.

permanent link

answered 26 Nov '18, 15:04

Tordanik's gravatar image

Tordanik
12.0k15106147
accept rate: 35%

how exactly do I do that? Im not familiar with the cmd console

permanent link

answered 26 Nov '18, 10:49

Damien555's gravatar image

Damien555
11113
accept rate: 0%

edited 26 Nov '18, 10:50

What if I have this error msg:

Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap

permanent link

answered 12 Oct '19, 13:14

wlizzz's gravatar image

wlizzz
1
accept rate: 0%

This appears to be another question, but you have provided it as an "answer" to a question from a few years ago. I'd suggest asking a new question, and include details of what you were trying to do, what went wrong, and what you've tried so far to fix it.

(14 Oct '19, 16:06) 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:

×45
×8

question asked: 25 Nov '18, 21:57

question was seen: 6,385 times

last updated: 14 Oct '19, 16:06

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