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 >
