For the record, the osmosis.bat file looks for a file also named
osmosis.bat in your user's home directory (so,
C:\Users\username\osmosis.bat ) where you can put a JAVACMD variable
that points at the java.exe file installed as part of the java runtime
environment. If no JAVACMD option is set it tries to just run
"java.exe" and hopes it is in the system path. By the looks of it the
java installer does not add itself to the system path.

This is (kind of) documented here:
http://wiki.openstreetmap.org/wiki/Osmosis/Installation#Environment_variables_and_config_files

Toby


On Tue, Dec 20, 2011 at 5:58 PM, john whelan <jwhelan0...@gmail.com> wrote:
> Thanks but eventually I stumbled across Osmconvert which appears to do
> everything I need.  Trying to modify to my drive letters and folders plus
> translate the osmosis documentation from Linux to Windows was too time
> consuming.
>
> Cheerio John
>
>
>
> On 20 December 2011 15:48, Cartinus <carti...@xs4all.nl> wrote:
>>
>> On 12/20/2011 09:35 PM, john whelan wrote:
>>>
>>> I suspect Oracle isn't very good at installing Java under windows. When
>>> I attempt to run Osmosis I get Java as an unknown.  Looking at Osmosis I
>>> get the impression that I can feed it a parameter to tell it where Java
>>> is located but I haven't been able to spot the appropriate bit of
>>> documentation.
>>>
>>> I'm trying to experiment with PBF files, and although I have a fair bit
>>> of experience programming I must confess much of that was in assembler
>>> etc. and not in Java.  Could someone point me to some documentation
>>> please.
>>
>>
>> <http://wiki.openstreetmap.org/wiki/Osmosis/Beginners_Guide>
>>
>>
>> ---
>> m.v.g.,
>> Cartinus
>>
>> _______________________________________________
>> talk mailing list
>> talk@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk
>
>
>
> _______________________________________________
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to