CSS
Validator

# CSS Validator version 2.0 : RUN

## Command line version

The simplest way is the following:

1. Get a Java interpreter and install it. As of Jigsaw, Java version 1.1 is required. You can get Sun's Java intepreter for free from: http://www.javasoft.com
2. Set your CLASSPATH environment variable in order to include validator's classes. To do this:
   On Windows
     set CLASSPATH=<instdir>\validator.zip
   On UNIX
     export CLASSPATH=<instdir>/validator.zip
   Where <instdir> should be substitued with the absolute path of the directory in which you unpacked validator.
3. Check that your PATH setting allow you to run the Java interpreter. This will usually be the case if you have installed Sun's JDK.
4. Run the validator:

   java org.w3c.css.css.StyleSheetCom <your-file-or-URI>

   If you launch the validator with no arguments, it gives you all available arguments on command line. Here is some examples :

       java org.w3c.css.css.StyleSheetCom http://www.w3.org/
       or
       java org.w3c.css.css.StyleSheetCom http://style.verso.com/stylebot.html?family=1&doc=url4

## Servlet version

The servlet class is org.w3c.css.servlet.CssValidator. If you are looking to use Jigsaw, see the ServletWrapper documentation.