[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to setup xml parser(xerces) in debian?



Cathayan <cathayan@gmail.com> writes:

> Hi, friends, 
>
> I am learning java nowadays and apt-get installed libxerces2-java. all
> the xerces jar are in the /usr/share/java, and this path was added in
> the CLASSPATH. but when i javac a program, it said that
> org.apache.xerces.parsers did not exist.

Once upon a time when I was messing with this, I seem to remember that I needed
to put the actual jar file in the path, i.e. /usr/share/java/xerces.jar

Give that a try and see how it works out.



Reply to: