You need to add the xalan.jar etc to the classpath. Something like this.
export CLASSPATH=$CLASSPATH:/xalan/xalan.jar:/xalan/xml-
apis.jar:/xalan/xercesImpl.jar:/xalan/serializer.jar
http://xml.apache.org/xalan-j/commandline.html
Upul
On Feb 4, 2008 3:09 PM, http://www.pas-world.com <dev001 at pas-world.com>
wrote:
>
> Hello,
> I have some problems running some tools of java in CentOS. Anyone know
> where is the problem for this?
>
>
> > [jv at localhost ~]$ java org.apache.xalan.xslt.Process
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.xalan.xslt.Process
> > at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> > Caused by: java.lang.ClassNotFoundException:
> org.apache.xalan.xslt.Process not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent>
gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> > at java.net.URLClassLoader.findClass(libgcj.so.7rh)
> > at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
> > at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> > at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
> > at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> > [jv at localhost ~]$
>
> Thanks in advance.
>
>
> --
> --
> Publicidad http://www.pas-world.com
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20080204/cda6fb18/attachment-0001.html>