On 2 September 2012 04:26, Stéphane Henriod <span dir="ltr"><<a href="mailto:s@henriod.info" target="_blank">s@henriod.info</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Hi Brett</p>
<p>Thanks for your answer!</p>
<p>Yes I have compiled the source with the command ant build.</p></blockquote><div><br>What command did you run to build the software, and which directory did you run the command from? Did the ant command complete without errors?<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>The reason I didn't use the binaries is that I work on a mutualised server where I don't have admin rights. Thus I can't do anything that requires a sudo command like sudo apt-get.</p></blockquote><div><br>
You don't need admin rights. You can simply download a precompiled binary package from here and extract it somewhere in your home directory.<br><a href="http://wiki.openstreetmap.org/wiki/Osmosis#Latest_Stable_Version">http://wiki.openstreetmap.org/wiki/Osmosis#Latest_Stable_Version</a><br>
<br>I'd strongly recommend trying the binary build first.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>After compilation I have put the path to osmosis (home/my_user/data/prog/package/bin) in the path variable. So now I simply call it from anywhere with the command "osmosis".</p>
<p>When I try osmosis --arguments I get this java error which makes me think that osmosis is found properly but that he doesn't find the path to some java library or something.</p></blockquote><div><br>It is usually caused by a problem during compilation. The launch script is a shell script which you are executing successfully. As you've suggested, the problem is caused by missing libraries. In your case, a file called package/lib/default/plexus-classworlds-2.4.jar might be missing.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Does it make a difference that osmosis is installed in my home and not in a higher level directory?</p></blockquote><div><br>It can be installed anywhere you please, so installing in your home directory should be okay.<br>
<br>Brett<br><br></div></div>