You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Arthur <ar...@gmx.de> on 2001/09/18 12:11:29 UTC
Newbie in Java and XML
Hi!
I'm a newbie in XML and have only a little experience in Java. I have JDK under Windows Me and recently tried to install the Xerces parser. When I try to compile a Java Programm, that reads an XML-Document (the Java Programm is from a tutorial) with "javac test.java" I get plenty of errors. It compiles with: "javac -classpath c:\xerces\xerces.jar test.java", but it still doesn't run with "java -classpath c:\xerces\xerces.jar test" instead there is a Exception: java.lang.NoClassDefFoundError: test. I guess I have not installed the Xerces parser properly / in what JDK directory should I install it?
thanks for your help
Re: Newbie in Java and XML
Posted by Arthur <ar...@gmx.de>.
Hi,
Thanks for your help, it works! As I learned from the mailing list
"java -classpath c:\xerces\xerces.jar;. test" works, too. But your solution
seem to me the easiest and best.
cu Arthur
----- Original Message -----
From: "r abiram" <ab...@yahoo.com>
To: <xe...@xml.apache.org>
Sent: Tuesday, September 18, 2001 4:31 PM
Subject: Re: Newbie in Java and XML
> Hi,
> Install your parser in the jdk1.3\jre\lib\ext
> U dont dont have to add any class path .Then UR file
> will positively Compile:
>
> Pl mail me if U get any other Problems
>
> Bye:
> R.Abiram
>
> --- Arthur <ar...@gmx.de> wrote:
> > Hi!
> > I'm a newbie in XML and have only a little
> > experience in Java. I have JDK under Windows Me and
> > recently tried to install the Xerces parser. When I
> > try to compile a Java Programm, that reads an
> > XML-Document (the Java Programm is from a tutorial)
> > with "javac test.java" I get plenty of errors. It
> > compiles with: "javac -classpath
> > c:\xerces\xerces.jar test.java", but it still
> > doesn't run with "java -classpath
> > c:\xerces\xerces.jar test" instead there is a
> > Exception: java.lang.NoClassDefFoundError: test. I
> > guess I have not installed the Xerces parser
> > properly / in what JDK directory should I install
> > it?
> > thanks for your help
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>
Re: Newbie in Java and XML
Posted by r abiram <ab...@yahoo.com>.
Hi,
Install your parser in the jdk1.3\jre\lib\ext
U dont dont have to add any class path .Then UR file
will positively Compile:
Pl mail me if U get any other Problems
Bye:
R.Abiram
--- Arthur <ar...@gmx.de> wrote:
> Hi!
> I'm a newbie in XML and have only a little
> experience in Java. I have JDK under Windows Me and
> recently tried to install the Xerces parser. When I
> try to compile a Java Programm, that reads an
> XML-Document (the Java Programm is from a tutorial)
> with "javac test.java" I get plenty of errors. It
> compiles with: "javac -classpath
> c:\xerces\xerces.jar test.java", but it still
> doesn't run with "java -classpath
> c:\xerces\xerces.jar test" instead there is a
> Exception: java.lang.NoClassDefFoundError: test. I
> guess I have not installed the Xerces parser
> properly / in what JDK directory should I install
> it?
> thanks for your help
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com