Hi Evgeniy,

Thanks for your advice!

I was, however, only semi-successful. Several re-installation and version 
changing attempts on Win8 were fruitless and now I', running Osmosis on Mac 
without problems... Took me literally 30 seconds to set up.

I would be interested if others have solved it on Windows or know about a 
solution on the way?

All the best,
Philipp

-----Original Message-----
From: Evgeniy Karyakin [mailto:anthropophag...@gmail.com] 
Sent: 20 November 2015 22:11
To: Philipp Hukal <philipphu...@googlemail.com>
Cc: osmosis-...@openstreetmap.org
Subject: Re: [osmosis-dev] Error: Could not find or load main class

Sorry, one correction: in bin/ directory I opened osmosis.bat file for edit and 
changed "plexus-classworlds-2.4.jar" to "plexus-classworlds-2.5.2.jar" in that 
file.

On Sat, Nov 21, 2015 at 1:02 AM, Evgeniy Karyakin <anthropophag...@gmail.com> 
wrote:
> Hello Philipp.
>
>    Please check your setup again because I just did exactly the same 
> steps and Osmosis works fine here. I took osmosis-latest.zip from its 
> web site, unzipped it and renamed its directory to "osmosis-0.44".
> Then I went to bin/ and changed wrong classworlds file name from 
> "plexus-classworlds-2.4.jar" to "plexus-classworlds-2.5.2.jar". After 
> that, I just run my own (previously used) .bat file which calls 
> Osmosis' one, with success.
>    My system is also Win8 and Java is 1.8.0_65 but that's not relevant 
> I'm sure. Check your classworlds renaming again.
>
> On Fri, Nov 20, 2015 at 8:56 PM, Philipp Hukal 
> <philipphu...@googlemail.com> wrote:
>> Hi all!
>>
>> Herewith the attempt to follow up on some unresolved issues around 
>> the OSMOSIS “classworlds” issue arising from faulty(?) osmosis.bat files.
>>
>> [mentioned here:
>> https://lists.openstreetmap.org/pipermail/osmosis-dev/2015-June/00169
>> 3.htm
>> and here:
>> https://lists.openstreetmap.org/pipermail/osmosis-dev/2015-November/0
>> 01753.html]
>>
>> After installation of the latest release and following the 
>> troubleshooting advice from the wiki (i.e. changing the version 
>> number in “plexus-classworlds-2.xx.jar” file, adding double quotes to 
>> "%JAVACMD%", pointing to java installation path) I actually got 
>> OSMOSIS to initialise as outlined here:
>> http://wiki.openstreetmap.org/wiki/Osmosis/Quick_Install_(Windows). 
>> That is, I saw the command line initialising OSMOSIS.
>>
>> However, the error: “Could not find or load main class 
>> org.codehaus.classworlds.Launcher” persists. (Win 8, JRE 8_u66)
>>
>> I tried different versions of OSMOSIS, changed the place where to run 
>> osmosis.bat from, varied file versions of 
>> “plexus-classworlds-2.xx.jar”, and included OSMOSIS paths in PATH and 
>> CLASSPATH – still no chance.
>>
>> Any advice?
>>
>> Thanks in advance and best regards,
>> Philipp


_______________________________________________
osmosis-dev mailing list
osmosis-...@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to