The standalone Jetty distribution is available for download from the Eclipse Foundation.
http://download.eclipse.org/jetty
It is available in both zip and gzip formats, download the one most appropriate for your system. You may note that there are a number of other files with extensions of .sha, or .md5 which are checksum files. When you download and unpack the binary, it is extracted into a directory called jetty-distribution-VERSION. Put this directory into a convenient location. The rest of the instructions in this wiki will refer to this location as either JETTY_HOME or as $(jetty.home).
Since jetty has been around
This is a quick rundown of the distribution's contents. The top-level directory contains:
| Location | Description |
|---|---|
| license-eplv10-aslv20.html | license file for Jetty |
| README.txt | contains useful getting started information |
| VERSION.txt | Release Information |
| bin | utility shell scripts to help run Jetty on unix systems |
| etc | directory for Jetty configuration files |
| lib | contains all the JAR files necessary to run jetty |
| logs | directory for request logs |
| notice.html | license information an exceptions |
| resources | directory containing additional resources for classpath, activated via configuration |
| start.ini | configuration file for starting jetty |
| start.jar | jar which invokes jetty (see also How to Run Jetty) |
| webapps | directory containing webapps which will be run under the default configuration of Jetty; contains demo webapps |