Thanks a lot! That solve the problem. I didn't realize that I need to list all .jar with the directory.
Marko -----Original Message----- From: Gary L Peskin [mailto:[EMAIL PROTECTED] Sent: 16. marraskuuta 2001 9:38 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Newbie question: Problem with SimpleTransform example For .jar files in java, you need to add the name of the .jar file to the classpath, like this: c:\sys\xalan-j_2_2_D13\bin\xalansamples.jar;c:\sys\xalan-j_2_2_D13\bin\x alan.jar Gary > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 15, 2001 11:30 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Newbie question: Problem with SimpleTransform example > > > I did add to the NT's user variable CLASSPATH with value > C:\sys\xalan-j_2_2_D13\bin\. > > It didn't help :-( > > Marko > > -----Original Message----- > From: Gary L Peskin [mailto:[EMAIL PROTECTED] > Sent: 16. marraskuuta 2001 9:22 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Newbie question: Problem with SimpleTransform example > > > Be sure that xalansamples.jar and xalan.jar are both in your > CLASSPATH. > > Gary > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 15, 2001 10:17 PM > > To: [EMAIL PROTECTED] > > Subject: Newbie question: Problem with SimpleTransform example > > > > > > Hi, > > > > 1) I did download JavaTM 2 SDK, Standard Edition, v 1.3.1 > > from java.sun.com. > > 2) I did install it and add to the NT's user path > > C:\sys\java\jdk1.3.1_01\bin\. > > 3) I tried an basic example from > > http://java.sun.com/docs/books/tutorial/ > > and it worked fine. > > > > 4) I did download Xalan-Java version 2.2.D13 from xml.apache.org. > > 5) I did install it and add to the NT's user path > > C:\sys\xalan-j_2_2_D13\bin\. > > 6) I tried to run an example from directory > > C:\sys\xalan-j_2_2_D13\samples\SimpleTransform with > > command"java SimpleTransform" and got an error "Exception in > > thread "main" > > java.lang.NoClassDefFoundError: SimpleTransform". > > xalansamples.jar is in directory C:\sys\xalan-j_2_2_D13\bin\. > > > > So, What to do? > > > > br Marko > > >
