John,

Need to be careful with Windows - it puts a jre in the system directory, which
is normally the first directory on your path. If you want to use a specific jre,
the path to that jre needs to be in front of your system directory.

FWIW,
steve

John Fletcher wrote:

> Solved the problem -
>
> Apparently calling "java" from the command line called a different jre (C
> drive) than my main jre (D drive), even though the jre on the C drive was
> not in my path, but the jre on the D drive was(!!).  Wouldn't normally be an
> issue, except that another java program I installed earlier had installed
> its own parser in the lib\ext directory of the jre on the C drive, which was
> being used instead of the xerces parser.  I changed the JAVACMD variable to
> point to the right jre, and voila.
>
> Thanks for the help.
>
> John Fletcher
> Latitude Geographics Group Ltd.
> 257 Market Square, Victoria, B.C., Canada V8W 3C6
> Tel: (250) 381.8130   Fax: (250) 381.8132
> www.latitudegeo.com   [EMAIL PROTECTED]
> ----- Original Message -----
> From: "John Fletcher" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, April 11, 2002 11:38 AM
> Subject: Re: Unable to start xindice
>
> > Hi Russ,
> >
> > The xerces parser (1.4.3) comes in the xindice\java\lib directory
> > (xerces-1.4.3.jar).  Should it be somewhere else as well?
> >
> > btw, for Amlan, using jdk 1.3.1
> >
> > Thanks.
> >
> > John
> >
> > > Hey,
> > >
> > > Try installing the Xerces parser.
> > > --
> > > Russ
> > >
> > > > -----Original Message-----
> > > > Hello,
> > > >
> > > > I have just installed xindice, but cannot get startup to
> > > > work.  I am using:
> > > <snip>
> > > > When I run startup from c:\xindice, I get the following message after
> > > > Xindice 1.0 (Birthday):
> > > > Database: 'db' initializing
> > > > Exception in thread "main" java.lang.NoSuchMethodError
> > > >            at
> > > > org.apache.xindice.xml.dom.DOMParser.getSAXParser(DOMParser.java:233)
> > > >            at
> > > > org.apache.xindice.xml.dom.DOMParser.<init>(DOMParser.java:93)
> > > <snip>
> > > > John Fletcher
> >


Reply via email to