[OSM-newbies] splitting up a osm file.
Al Haraka
alharaka at gmail.com
Mon Oct 4 22:51:52 BST 2010
On Tue, Oct 5, 2010 at 12:01 AM, Craig Wallace <craigw84 at fastmail.fm> wrote:
> On 04/10/2010 21:07, john whelan wrote:
>>
>> Unfortunately I'm running Windows which doesn't help when trying to
>> run UNIX utilities. I'm running JOSM so do have Java floating around
>> somewhere but when I drop in a pause in the .bat file to see what
>> errors are there the first thing I can see is Java comes up as
>> unrecognised.
>>
>> Suggestions please.
>
> Try running it from a command prompt, then you can see what the errors are,
> plus copy and paste any that are relevant.
First of, we really need to know what error you are seeing. Right
click on the command prompt, then click edit, and mark. Highlight the
text and hit enter to copy and then paste it into the reply. So, do
you mean the errors are from the Java runtime itself (or lack thereof)
or Osmosis runs with errors thrown out? If the former, which is what
I get from your email, the current working directory is important,
just like *nix environments. If it is not in your path (variable), it
does not know where to guess about a possible location for java.exe,
javaw.exe, what have you (the Java runtime executable). You need to
add the path variable to the runtime's path or specify the full path,
something like (I am guessing here) C:\Program
Files\Sun\Java\<version>\java.exe. Now that it is Oracle, I am not
sure if Sun has been replaced with Oracle. Anyway, let us know.
More information about the newbies
mailing list