Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Jetty/Howto/Install Jetty/Bundle

< Jetty‎ | Howto‎ | Install Jetty
Revision as of 05:39, 18 September 2009 by Unnamed Poltroon (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Introduction

This howto provides detailed instructions for downloading and installing the latest version of Jetty 7. If you just want to get up and running, see the Quick Start Guide.

Prerequisites

Hardware

  • ~7 MB of disk space for Jetty source
  • ~7 MB for Jetty 7 binaries

Operating System

  • Any operating system that supports J2SE 1.5 or greater.

Environment

Steps

Download the Binary

Download the latest Jetty core component binary from the Jetty downloads page.

Unpack the Binary

Unzip the binary; it will be 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).

That's it! The Jetty binary is now available for you to use. You may now choose to either run Jetty or configure Jetty.

Distribution Contents

Here's a quick rundown of the distribution's contents, to help you familiarize yourself with it. The top-level directory contains:

LICENSE-APACHE-2.0.TXT 
license file for Jetty (Jetty 7 is dual-licensed)
LICENSE-ECLIPSE-1.0.HTML 
license file for Jetty (Jetty 7 is dual-licensed)
META-INF 
for packaging
README.txt 
contains useful getting started information
VERSION.txt 
Release information
about.html 
"About This Content" page from Eclipse
bin 
utility shell scripts to help run Jetty on unix systems
contexts 
hot deploy contexts directory
etc 
directory for Jetty configuration files
javadoc 
contains the javadoc
lib 
contains all the JAR files necessary to run jetty
logs 
directory for request logs
notice.html 
licenses information and exceptions.
resources 
directory containing additional resources for classpath
start.ini 
Default start arguments
start.jar 
JAR which invokes jetty-7 (see also How to Run Jetty)
webapps 
directory containing webapps which will be run under the default configuration of Jetty; contains demo webapps

Back to the top