Ant "could not find jaxp_parser_impl" problem

J

James Kimble

I'm trying to work with ANT with jdk 4.2 on a Linux RH 9.0
installation and having a very frustrating problem. I keep
getting the messages:

/usr/bin/build-classpath: error: could not find jaxp_parser_impl Java
extension for this JVM

/usr/bin/build-classpath: error: could not find xml-commons-apis Java
extension for this JVM

/usr/bin/build-classpath: error: All specified jars were not found
Buildfile: build.xml


I have installed the xml-commons and jpackage rpms and rpm -q
shows:
jpackage-utils-1.6.3-1jpp
xml-commons-1.0-0.b2.7jpp

So I know they're in there. I've got ANT_HOME set and installed
it from sources. What gives!!! Very frustrating... Any
help/suggestions would be much appreciated!!

Thanks,

James Kimble

Other info:

Apache Ant version 1.6.2 compiled on November 12 2004
ant -diagnostics
/usr/bin/build-classpath: error: could not find jaxp_parser_impl Java
extension for this JVM
/usr/bin/build-classpath: error: could not find xml-commons-apis Java
extension for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
------- Ant diagnostics report -------
Apache Ant version 1.6.2 compiled on November 12 2004

-------------------------------------------
Implementation Version (JDK1.2+ only)
-------------------------------------------
core tasks : 1.6.2
optional tasks : not available

-------------------------------------------
ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant

-------------------------------------------
Tasks availability
-------------------------------------------
ccmkdir : Not Available
propertyfile : Not Available
importtypelib : Not Available
vsscheckin : Not Available
p4reopen : Not Available
image : Not Available
csc : Not Available
sshexec : Not Available
wlrun : Not Available
p4label : Not Available
p4revert : Not Available
replaceregexp : Not Available
jjtree : Not Available
jarlib-display : Not Available
jspc : Not Available
test : Not Available
vsshistory : Not Available
icontract : Not Available
p4submit : Not Available
scp : Not Available
ccmcheckin : Not Available
p4change : Not Available
p4delete : Not Available
vssadd : Not Available
p4integrate : Not Available
translate : Not Available
cclock : Not Available
chown : Not Available
vajload : Not Available
jarlib-available : Not Available
rexec : Not Available
WsdlToDotnet : Not Available
jpcovmerge : Not Available
cvsversion : Not Available
ejbjar : Not Available
stlist : Not Available
serverdeploy : Not Available
ildasm : Not Available
cccheckin : Not Available
ccunlock : Not Available
wljspc : Not Available
telnet : Not Available
sosget : Not Available
p4sync : Not Available
ccmklabel : Not Available
p4edit : Not Available
maudit : Not Available
antlr : Not Available
netrexxc : Not Available
ftp : Not Available
jpcovreport : Not Available
ccmcheckout : Not Available
xmlvalidate : Not Available
p4resolve : Not Available
ccmcheckintask : Not Available
iplanet-ejbc : Not Available
native2ascii : Not Available
ccrmtype : Not Available
starteam : Not Available
vsscheckout : Not Available
soscheckin : Not Available
mimemail : Not Available
stylebook : Not Available
stlabel : Not Available
cab : Not Available
splash : Not Available
ccmkbl : Not Available
cccheckout : Not Available
p4have : Not Available
jdepend : Not Available
jsharpc : Not Available
symlink : Not Available
script : Not Available
ccmcreatetask : Not Available
rpm : Not Available
attrib : Not Available
mmetrics : Not Available
echoproperties : Not Available
junit : Not Available
stcheckin : Not Available
chgrp : Not Available
vajexport : Not Available
stcheckout : Not Available
p4labelsync : Not Available
vsscreate : Not Available
ejbc : Not Available
vbc : Not Available
wsdltodotnet : Not Available
junitreport : Not Available
ccmkattr : Not Available
ccupdate : Not Available
renameext : Not Available
vsslabel : Not Available
vsscp : Not Available
vajimport : Not Available
p4fstat : Not Available
setproxy : Not Available
wlstop : Not Available
p4counter : Not Available
ilasm : Not Available
soscheckout : Not Available
jarlib-resolve : Not Available
ccuncheckout : Not Available
jlink : Not Available
javacc : Not Available
jarlib-manifest : Not Available
pvcs : Not Available
ccmklbtype : Not Available
sound : Not Available
scriptdef : Not Available
mparse : Not Available
blgenclient : Not Available
jjdoc : Not Available
ccmkelem : Not Available
javah : Not Available
ccmreconfigure : Not Available
p4add : Not Available
soslabel : Not Available
jpcoverage : Not Available
depend : Not Available
vssget : Not Available
ddcreator : Not Available

-------------------------------------------
org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
XML Parser information
-------------------------------------------
XML Parser : org.apache.crimson.jaxp.SAXParserImpl
XML Parser Location: /usr/java/j2sdk1.4.2_07/jre/lib/rt.jar

-------------------------------------------
System properties
-------------------------------------------
java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path : /usr/java/j2sdk1.4.2_07/jre/lib/i386
java.vm.version : 1.4.2_07-b05
ant.library.dir : /usr/share/ant/lib
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : :
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
user.country : US
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /home/jkimble/PROJECTS/DexStar/Turbine/GUI
java.runtime.version : 1.4.2_07-b05
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
java.endorsed.dirs : /usr/java/j2sdk1.4.2_07/jre/lib/endorsed
os.arch : i386
java.io.tmpdir : /tmp
line.separator :

java.vm.specification.vendor : Sun Microsystems Inc.
os.name : Linux
ant.home : /usr/share/ant
sun.java2d.fontpath :
java.library.path :
/usr/java/j2sdk1.4.2_07/jre/lib/i386/client:/usr/java/j2sdk1.4.2_07/jre/lib/i386:/usr/java/j2sdk1.4.2_07/jre/../lib/i386
java.specification.name : Java Platform API Specification
java.class.version : 48.0
java.util.prefs.PreferencesFactory :
java.util.prefs.FileSystemPreferencesFactory
os.version : 2.4.20-8
user.home : /home/jkimble
user.timezone :
java.awt.printerjob : sun.print.PSPrinterJob
file.encoding : UTF-8
java.specification.version : 1.4
java.class.path :
/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/java/j2sdk1.4.2_07/lib/tools.jar
user.name : jkimble
java.vm.specification.version : 1.0
java.home : /usr/java/j2sdk1.4.2_07/jre
sun.arch.data.model : 32
user.language : en
java.specification.vendor : Sun Microsystems Inc.
java.vm.info : mixed mode
java.version : 1.4.2_07
java.ext.dirs : /usr/java/j2sdk1.4.2_07/jre/lib/ext
sun.boot.class.path :
/usr/java/j2sdk1.4.2_07/jre/lib/rt.jar:/usr/java/j2sdk1.4.2_07/jre/lib/i18n.jar:/usr/java/j2sdk1.4.2_07/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.2_07/jre/lib/jsse.jar:/usr/java/j2sdk1.4.2_07/jre/lib/jce.jar:/usr/java/j2sdk1.4.2_07/jre/lib/charsets.jar:/usr/java/j2sdk1.4.2_07/jre/classes
java.vendor : Sun Microsystems Inc.
file.separator : /
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.endian : little
sun.cpu.isalist :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,286
Latest member
ChristieSo

Latest Threads

Top