even MORE basic question to be resolved 2003-01-21 - By Simon Kitching
Hi Ray,
Package javax.xml is part of the java 1.4 distribution, so it looks like you have a stuffed java installation on your machine.
try
jar tf $JAVA_HOME/jre/lib/rt.jar | grep "javax.xml"
and you should see the classes.
Regards,
Simon
On Wed, 2003-01-22 at 12:33, Ray Clouse wrote: > I can't get the javac compiler to see the dom.jar or sax.jar package. I'm > using this to compile: > > javac -classpath jaxm-1.1_01/jaxp-1.2_01/sax.jar tower.java > > But it gives me an error with: > > tower.java:14: package javax.xml does not exist > import javax.xml.*; > ^ > I tried the above with dom.jar also with the same result. > > Where is this package and how do I get the compiler to recognize it? > > I'm using Red Hat 7.3 with j2sdk-1.4.1_01-fcs & j2re-1.4.1_01-fcs installed > from RPM. Here's the kernel: > > Linux simdata2 2.4.18-17.7.xsmp #1 SMP Tue Oct 8 12:37:04 EDT 2002 i686 > unknown
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|