[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] still setting up
On Thu, 2007-11-15 at 18:53 +0100, Stefan Heuer wrote: > Next try ;) > > The class call works if i specify the classpath on virtual machine call, > like this: > java \ > -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl\ > -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl\ > *-cp saxon-6.5.5.jar;xerces-xercesImpl-2.9.0.jar* \ > com.icl.saxon.StyleSheet [options and files] > > This the windows version, on a a other operating system the separator in > classpath definition could be ":". ---- Thanks, I'm on Linux... ';' seems right getting closer # java \ > -Djavax.xml.parsers.DocumentBuilderFactory=\ > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \ > -Djavax.xml.parsers.SAXParserFactory=\ > org.apache.xerces.jaxp.SAXParserFactoryImpl \ > *-cp saxon.jar;/var/www/html/saxon/xercesImpl.jar \ > -o myfile.html \ > /var/www/html/books/content/books/xml/qm_manual/en/index.xml \ > /var/www/html/docbook-xsl/html/docbook.xsl \ > use.extensions=1 Exception in thread "main" java.lang.NoSuchMethodError: main Failed to load Main-Class manifest attribute from /var/www/html/saxon/xercesImpl.jar adjusted some things that seemed to make a difference. put full path for xercesImpl.jar (even though it's in my CLASSPATH) set execute bit for the file (xercesImpl.jar - fixed bash error 'Permission denied') # echo $CLASSPATH /var/www/html/docbook-xsl/extensions/saxon65.jar:\ /var/www/html/docbook-xsl/extentions/xalan27.jar:\ /var/www/html/saxon/saxon.jar:\ /var/www/html/saxon/xercesImpl.jar Craig
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]