Can you try directly running the osmosis.bat file contained in Osmosis
rather than creating your own file?  If you add the Osmosis bin directory
to your windows path it should work.  It's not essential to create your own
osmosis.bat file.

On 9 June 2015 at 21:01, gianfranco g <gfrem...@gmail.com> wrote:

> Hello Brett,
> Thank you for your answer.
> I have a very limited coding ability and I am using a Windows platform so
> I followed the instruction to install it from the following page (
> http://wiki.openstreetmap.org/wiki/Osmosis/Quick_Install_%28Windows%29).
> I thought my problem came from codehaus since in the osmosis.bat file in
> line 37 I found the following code (set
> MAINCLASS=org.codehaus.classworlds.Launcher).
> And I always got the message "Error: Could not find or load main class
> org.codehaus.classworlds.Launcher"
> All the webpages I found about a similar problem had to deal with Maven
> that I don't think is installed in my system.
>
>
> Gianfranco Gliozzo: PhD student
>
> Twitter: @ggliozzo
>
> Mobile +447427182059
>
> Extreme Citizen Science (ExCiteS) research group
>
> Chorley Institute, Pearson Building
>
> University College London (UCL)
>
> Gower St. London WC1E 6BT
>
> On 9 June 2015 at 11:48, Brett Henderson <br...@bretth.com> wrote:
>
>> The error you're seeing is not caused by codehaus being discontinued.
>>
>> Codehaus was a source code hosting service, a bit like Github.  Osmosis
>> depends on a library that was originally developed on Codehaus.  Osmosis
>> retrieves this library from Maven Central, not Codehaus.
>>
>> Where did you download Osmosis?  Are you using a pre-compiled version, or
>> are you compiling it yourself?
>>
>> On 9 June 2015 at 20:09, gianfranco g <gfrem...@gmail.com> wrote:
>>
>>>
>>> Hello,
>>> I am Gianfranco I am new to this list.
>>> I write because I am trying to install Osmosis in my windows system and
>>> I always get the message "could not find or load main class
>>> org.codehaus.classworlds.Launcher"
>>> When I search for codehaus online I found that the service is now
>>> discontinued (http://www.codehaus.org/) while it is still mentioned in
>>> Osmosis' code.
>>>
>>> I hope I got it right and you can suggest me how to replace the call to
>>> codehaus to have finally Osmosis working on my PC.
>>>
>>> Best
>>>
>>> Gianfranco
>>>
>>> _______________________________________________
>>> osmosis-dev mailing list
>>> osmosis-dev@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/osmosis-dev
>>>
>>>
>>
>
_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to