Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

QUERY INSTALLING XERCES-2.6.2 with JSDK1.4

 
will fitzgerald
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


I have the jsdk-1.4.2_05-b04 and I am trying to install xerces-2.6.2. I have added xerces jar files to my windows 2000 path.

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Perforce;C:\j2sdk1.4.2_05\bin;%ANT_HOME%\bin;C:\j2sdk1.4.2_05\jre\lib\ext\clink150.jar;C:\xerces-2_6_2\resolver.jar;C:\xerces-2_6_2\xercesImpl.jar;C:\xerces-2_6_2\xml-apis.jar;C:\xerces-2_6_2\xmlParserAPIs.jar

i have seen a similar post made but it does not help me
http://www.coderanch.com/t/126977/XML/install-Xerces-Xalan


I am trying to run some samples of "cyberlink for java" (UPnP software) and it requires xerces to be installed.


i get the following error when i run an example of upnp software:

C:\upnp\upnp-sample-aircon>java AirconFrame
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/par
sers/AbstractDOMParser
at org.cybergarage.upnp.UPnP.<clinit>(UPnP.java:196)
at org.cybergarage.upnp.Device.<clinit>(Device.java:132)
at AirconFrame.<init>(AirconFrame.java:32)
at AirconFrame.main(AirconFrame.java:106)

have I installed xerces correctly?

cheers,
Will.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The .jar files should be in your CLASSPATH environment variable, not the PATH environment variable.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Movin this to XML forum.. Please continue your discussion there.
XML Forum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic