Re: Xerces for Java Installation

"Jacob Kjome" <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <[email protected]>
I don't use Netbeans.  Is this "Jar/Folder options" part of the Netbeans 
itself or the project classpath?  I would think you would add it to the 
project classpath just like any other jar that you want your project to 
compile against.

BTW, I suggest not directly depending on classes in the "org.apache.xerces" 
package.  That's all internal implementation stuff.  You should be depending 
on the standard public XML APIs.  That said, being able to reference 
"org.apache.xerces" is proof that Xerces is, indeed, in your classpath.  But I 
would only use it for that and not have project classes depend upon the 
internal Xerces implementation.


Jake

On Wed, 7 Aug 2013 15:38:31 +0000
 Kujtim Hyseni <[email protected]> wrote:
> I am using NetBeans, so I have added the xercesImpl.jar in NetBeans 
>Jar/Folder options but it still doesn't recognizes. Is there any solution for 
>NetBeans?
> 
> Kujtim
> 
> Do you have xercesImpl.jar in the compiler classpath?
> 
> Jake
> 
>From: [email protected]
> To: [email protected]
> Subject: Xerces for Java Installation
> Date: Wed, 7 Aug 2013 13:48:02 +0000
> 
> 
> 
> 
> Dear David,
> 
> I have downloaded the zips and jar-ed as suggested in 
>http://xerces.apache.org/xerces2-j/install.html i.e.
> 
> jar xf Xerces-J-bin.2.11.0.zip
> jar xf Xerces-J-tools.2.11.0.zip
> 
> but when I try to build some samples the Java compiler doesn't recognizes 
>some imports such org.apache.xerces... but only org.xml.sax... for which I 
>understood that some earlier version of Xerces is included in Java SE.
> 
> The problem is that I want to install and use the Xerces for Java which is 
>presented in http://xerces.apache.org/mirrors.cgi
> 
> Can You help me with this. Should I take the files after "jar xf 
>Xerces-J-bin.2.11.0.zip" command and place at Java lib folder (I am using 
>Windows 7) or include the xerces-2_11_0 folder in environment variable?
> 
> Waiting for Your response,
> 
> Best Regards,
> Kujtim Hyseni
> 		 	   		   		 	   		  
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.