How to install on OS-X
Added by Anonymous over 16 years ago
Legacy ID: #5187947 Legacy Poster: khill (deepyellow)
I know this is supposed to be obvious and easy, but I can't seem to install Saxon-B on OS-X. I'm a complete java noob, but from what I gathered from browsing the web, I should only have to unzip to a directory (I chose ~/Saxon) and then set my CLASSPATH to point to that directory, and enter "java saxon.jar". I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: saxon/jar What have I done wrong? I'm using v9.101 by the way. Thanks! -Ken
Replies (2)
RE: How to install on OS-X - Added by Anonymous over 16 years ago
Legacy ID: #5188553 Legacy Poster: Willem van Heerde (wheerde)
I dont know os/x but I think java works all the same so try: java -jar saxon.jar
RE: How to install on OS-X - Added by Anonymous over 16 years ago
Legacy ID: #5191166 Legacy Poster: Michael Kay (mhkay)
You want either java -jar ~/saxon/saxon9.jar -s:a.xml -xsl:b.xsl or java -cp ~/saxon/saxon9.jar net.sf.saxon.Transform -s:a.xml -xsl:b.xsl For more details see http://www.saxonica.com/documentation/index/gettingstarted/gettingstartedjava.html Michael Kay Saxonica
Please register to reply