rakib islam wrote: > Hi > I am RAKIB trying to use iText Library.To install iText library i > follow the rules written by "*Christoph Bartnick*".But when i create > the "*CLASSPATH*" variable with the value of iText Jar File's > destination path I can compile every java program but fail to run any > java program.When i run any program an exception is thrown each time > that is *"java.lang.NoClassDefFoundError".* > ** > * * But if i delete the *"CLASSPATH" *varible i can able to compile > and run all the* *Java program which are not related to itext library. > > i am using J2SE 5.0, TextPad 4.5, windows 2000 professional.
Try to find out more about the concept 'CLASSPATH'. I guess you are not including the current directory '.' (= dot) into your classpath. Anyway, this question is off-topic as it has nothing to do with iText; only with compiling and running a java program that uses a jar. br, Bruno Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions