W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: How to use JTidy?

From: Gary L Peskin <garyp@firstech.com>
Date: Tue, 24 Oct 2000 23:17:31 -0700
Message-ID: <39F67AFB.A28A6B60@firstech.com>
To: Html-Tidy <html-tidy@w3.org>
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT