This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
org.w3c.dom and org.xml.sax
- From: "TEIXOEIRA at terra dot es" <TEIXOEIRA at terra dot es>
- To: java at gcc dot gnu dot org
- Date: Thu, 12 Jan 2006 11:57:45 +0100 (MET)
- Subject: org.w3c.dom and org.xml.sax
- Reply-to: TEIXOEIRA at terra dot es
Hi!
I want to use org.w3c.dom and org.xml.sax classes. I know I have to use -l-org-w3c-dom linking option but, where can I find the actual
libs? I mean, I've compiled an aplication that uses javax.xml.parsers.DocumentBuilderFactory and linked it (without the previously
mentioned option) to libgcj.a (from Mohan's) but, when I execute it, it throws:
Exception in thread "main" java.lang.NoClassDefFoundError:
while resolving class: javax.xml.parsers.DocumentBuilderFactory
at 0x0042177e (Unknown Source)
..........
at 0x7c816d4b (Unknown
Source)
Caused by: java.lang.ClassNotFoundException: gnu.xml.dom.DomDocumentBuilderFactory not found in gnu.gcj.runtime.SystemClassLoader
{urls=[file:.\,file:./], p
arent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at 0x0042177e (Unknown Source)
......
at 0x00523654 (Unknown Source)
...15 more
How can I make it work??
Kind regards
Prueba el Nuevo Correo Terra; Seguro, RÃpido, Fiable.