I'm trying to install Osmosis on Windows XP. I moved the osmosis-0.38 folder into my profile under documents and settings. Do I need to move the .bat and .jar files into the main directory out of the folder. When I try to run the script to merge two files, I get an error that says "unable to access jarfile osmosis.jar" Is there anything else I need to do to install it?

asked 01 Jan '11, 22:46

nmixter's gravatar image

nmixter
1178912
accept rate: 0%


You should not need to move the bat or jar files from their unzipped directory locations. You should be able to run osmosis.bat from the bin directory.

This old forum discussion gives some messy solutions for getting osmosis classpaths to work However things have moved on since then. I think osmosis launch scripts (osmosis.bat for windows) have changed to use some codehaus.classworlds.Launcher mechanism, which is hopefully better. In general, you'll have an easier time if you can get it to work without rearranging anything. Keep things as they are when you unzip osmosis. There are some other notes for windows users on the osmosis wiki page

link

answered 04 Jan '11, 12:37

Harry%20Wood's gravatar image

Harry Wood
7.4k2074110
accept rate: 14%

1

Osmosis 0.38 works if the .bat file is called from its initial location (as Harry says this was not true for much older versions (0.29 & 0.31). I usually run it from the osmosis directory and mostly I will write another batch file so that I dont forget how I've used the osmosis options. So binosmosis.bat --rx file=....

(08 Jun '11, 09:54) SK53
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×88

Asked: 01 Jan '11, 22:46

Seen: 3,692 times

Last updated: 08 Jun '11, 09:54

powered by OSQA