Re: How to use JTidy?

> On Tue, Oct 24, 2000 at 10:46:48PM -0700, Azlan Aziz wrote:
> > Hello,
> >
> > I didn't compile anything(do I have to?). The following were my steps of installing JTidy:
> >
> > 1. I downloaded the jtidy-04aug2000r3.zip file and unzip it.
> > 2. I set the classpath to c:\jtidy-04aug2000r3\build\Tidy.jar
> > 3. Then I try to run it by typing java Tidy but got the
> >    following error:
> >    Exception in thread "main" java.lang.NoClassDefFoundError: Tidy

In addition to Sami's reply, try typing

  java org.w3c.tidy.Tidy -h

This should work if you have Tidy.jar in your classpath.  You need to
specify the full package name.

Gary

Received on Wednesday, 25 October 2000 02:17:33 UTC